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 8)
/* 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 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 TODO nolint:lll match incoming tunnels by mach IDs and pass directly to clients ListenAddr string ReplAddrDir string StaticDir string
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 NewClient NewClientFunc
type NewClientFunc (func)
type OutputFunc (func)
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"