package server

Import Path
	github.com/pancsta/asyncmachine-go/tools/debugger/server (on go.dev)

Dependency Relation
	imports 22 packages, and imported by 6 packages

Involved Source Files dbg_server.go
Package-Level Type Names (total 6)
/* sort by: | */
ConnId string Connected atomic.Bool indexes of txs with errors, desc order for bisects TOOD refresh on GC bits which get saved into the go file TODO refac to MsgSchema TODO version schemas Exportable.MsgTxs []*telemetry.DbgMsgTx Id string cache of processed log entries MTimeSum uint64 MsgSchemaParsed *types.MsgSchemaParsed processed list of filtered tx _indexes_ processed current transition, 1-based, mirrors the slider (eg 1 means tx.ID == 0) TODO atomic current step, 1-based, mirrors the slider TODO atomic SchemaHash string SelectedGroup string (*Client) ClearCache() (*Client) FilterIndexByCursor1(cursor1 int) int (*Client) HadErrSinceTx(tx, distance int) bool (*Client) IndexesToStates(indexes []int) am.S (*Client) LastActive() time.Time (*Client) LastTxTill(hTime time.Time) int (*Client) ParseSchema() (*Client) StatesToIndexes(states am.S) []int (*Client) Tx(idx int) *telemetry.DbgMsgTx (*Client) TxByMachTime(sum uint64) int TxIndex returns the index of transition ID [id] or -1 if not found. (*Client) TxParsed(idx int) *types.MsgTxParsed
ConnId string MsgStruct *telemetry.DbgMsgStruct func (*RPCServer).DbgMsgSchemaFwd(msg *DbgMsgSchemaFwd, _ *string) error
ConnId string MsgTx *telemetry.DbgMsgTx func (*RPCServer).DbgMsgTxFwd(msg *DbgMsgTx, _ *string) error
TODO refac to MsgSchema TODO version schemas MsgTxs []*telemetry.DbgMsgTx
( GetField) Encode() string ( GetField) String() string GetField : expvar.Var GetField : fmt.Stringer func Decode(s string) GetField func github.com/pancsta/asyncmachine-go/internal/testing.RpcGet[G](t *testing.T, c *rpc.Client, name GetField, defVal G) G const GetClientCount const GetCursorStep const GetCursorTx const GetMsgCount const GetOpts const GetSelectedState
TODO rename to RpcServer (compat break) ConnID string FwdTo []*rpc.Client Mach *am.Machine (*RPCServer) DbgMsgSchema(msgSchema *telemetry.DbgMsgStruct, _ *string) error TODO rename to RemoteMsgSchemaReceive (compat break) (*RPCServer) DbgMsgTx(msgTx *telemetry.DbgMsgTx, _ *string) error TODO rename to RemoteMsgTxReceive (compat break)
Package-Level Functions (total 2)
func StartRpc(mach *am.Machine, addr string, mux chan<- cmux.CMux, fwdAdds []string, enableHttp bool)
Package-Level Constants (total 6)
const GetOpts GetField = 5