package types

Import Path
	/tools/relay/types (on go.dev)

Dependency Relation
	imports 7 packages, and imported by 3 packages

Involved Source Files types_relay.go
Package-Level Type Names (total 10)
/* sort by: | */
A is a struct for node arguments. It's a typesafe alternative to [am.A]. Addr string Conn net.Conn Id string RemoteAddr string func ParseArgs(args am.A) *A func Pass(args *A) am.A
nolint:lll Debug bool Name string Output OutputFunc Parent am.Api RotateDbg *ArgsRotateDbg Version bool Wasm *ArgsWasm func github.com/pancsta/asyncmachine-go/tools/relay.New(ctx context.Context, args Args) (*relay.Relay, error)
ArgsRotateDbg converts dbg dumps to other formats / versions. am-relay convert-dbg am-dbg-dump.gob.br -o am-vis nolint:lll Dir string Filename string FwdAddr []string IntervalTime time.Duration IntervalTx int ListenAddr string
ArgsWasm nolint:lll Match incoming TCP dials by mach IDs and pass directly to new RPC servers ListenAddr string ReplAddrDir string StaticDir string Match incoming tunnels by mach IDs and pass directly to new RPC clients
ARpc is a subset of A, that can be passed over RPC. Addr string Id string func PassRpc(args *ARpc) am.A
Id *regexp.Regexp NewServer NewServerFunc
type NewClientFunc (func)
type NewServerFunc (func)
type OutputFunc (func)
Id *regexp.Regexp NewClient NewClientFunc
Package-Level Functions (total 4)
LogArgs is an args logger for A.
ParseArgs extracts A from [am.Event.Args][APrefix].
Pass prepares [am.A] from A to pass to further mutations.
PassRpc prepares [am.A] from A to pass over RPC.
Package-Level Constants (total 2)
const APrefix = "relay"
const CmdRotateDbg = "rotate-dbg"