server

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: MIT Imports: 13 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,
)

Types

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) DbgMsgStruct

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

func (*RPCServer) DbgMsgTx

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

Jump to

Keyboard shortcuts

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