server

package
v0.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartRpc added in v0.7.0

func StartRpc(
	mach *am.Machine, addr string, mux chan<- cmux.CMux, fwdAdds []string,
	enableHttp bool,
)

Types

type DbgMsgSchemaFwd added in v0.12.0

type DbgMsgSchemaFwd struct {
	MsgStruct *telemetry.DbgMsgStruct
	ConnId    string
}

type DbgMsgTx added in v0.12.0

type DbgMsgTx struct {
	MsgTx  *telemetry.DbgMsgTx
	ConnId string
}

type GetField added in v0.7.0

type GetField int
const (
	GetCursorTx GetField = iota + 1
	GetCursorStep
	GetClientCount
	GetMsgCount
	GetOpts
	GetSelectedState
)

func Decode added in v0.7.0

func Decode(s string) GetField

func (GetField) Encode added in v0.7.0

func (n GetField) Encode() string

func (GetField) String added in v0.7.0

func (n GetField) String() string

type RPCServer

type RPCServer struct {
	Mach   *am.Machine
	ConnID string
	FwdTo  []*rpc.Client
}

func (*RPCServer) DbgMsgSchema added in v0.15.0

func (r *RPCServer) DbgMsgSchema(
	msgSchema *telemetry.DbgMsgStruct, _ *string,
) error

func (*RPCServer) DbgMsgSchemaFwd added in v0.12.0

func (r *RPCServer) DbgMsgSchemaFwd(
	msg *DbgMsgSchemaFwd, _ *string,
) error

func (*RPCServer) DbgMsgTx

func (r *RPCServer) DbgMsgTx(msgTx *telemetry.DbgMsgTx, _ *string) error

func (*RPCServer) DbgMsgTxFwd added in v0.12.0

func (r *RPCServer) DbgMsgTxFwd(msg *DbgMsgTx, _ *string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL