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 11)
A is a struct for node arguments. It's a typesafe alternative to [am.A].
Addr string
Args Args
Args.ArgsBase am.ArgsBase
Args.ArgsBase.ArgsApi machine.ArgsApi
Conn net.Conn
Id string
RemoteAddr string
( A) ArgsPrefix() string
State is the default Any state.
Clone for deep cloning.
A : github.com/pancsta/asyncmachine-go/pkg/machine.ArgsApi
ArgsBase am.ArgsBase
ArgsBase.ArgsApi machine.ArgsApi
( Args) ArgsPrefix() string
State is the default Any state.
Clone for deep cloning.
Args : github.com/pancsta/asyncmachine-go/pkg/machine.ArgsApi
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
Args Args
Args.ArgsBase am.ArgsBase
Args.ArgsBase.ArgsApi machine.ArgsApi
Id string
( ARpc) ArgsPrefix() string
State is the default Any state.
Clone for deep cloning.
ARpc : github.com/pancsta/asyncmachine-go/pkg/machine.ArgsApi
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 CliArgs) (*relay.Relay, error)
type NewClientFunc (func) type NewServerFunc (func) type OutputFunc (func)
Package-Level Variables (only one)
ArgsRpc will be available in the REPL.
![]() |
The pages are generated with Golds v0.8.4. (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. |