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)
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
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.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |