package types

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

Dependency Relation
	imports 16 packages, and imported by 7 packages

Involved Source Files cli_dbg.go dbg_types.go
Package-Level Type Names (total 9)
/* sort by: | */
Args is for logReaderWhenArgs only ClosedAt is human time when this entry was closed, so it can be disposed. CreatedAt is machine time when this entry was created Kind LogReaderKind Mach is for logReaderPipeIn, logReaderPipeOut, logReaderMention Pipe is for logReaderPipeIn, logReaderPipeOut QueueTick is for logReaderWhenQueue only states are empty for logReaderWhenQueue Ticks is for logReaderWhenTime only func github.com/pancsta/asyncmachine-go/tools/debugger.(*Client).GetReaderEntry(txId string, idx int) *LogReaderEntry func github.com/pancsta/asyncmachine-go/tools/debugger.(*Client).AddReaderEntry(txId string, entry *LogReaderEntry) int
EntryIdx int TxId string
const LogReaderCtx const LogReaderPipeIn const LogReaderPipeOut const LogReaderWhen const LogReaderWhenArgs const LogReaderWhenNot const LogReaderWhenQueue const LogReaderWhenTime
HumanTime time.Time MachId string MachTime uint64 TODO support queue ticks TODO support step TxId string (*MachAddress) Clone() *MachAddress (*MachAddress) String() string *MachAddress : expvar.Var *MachAddress : fmt.Stringer func ParseMachUrl(u string) (*MachAddress, error) func (*MachAddress).Clone() *MachAddress
Id string Time uint64
Groups map[string]am.S GroupsOrder []string
Transitions which reported this one as their source ForksLabels []string ReaderEntries []*LogReaderEntryPtr QueueTick when this tx should be executed StatesAdded []int StatesRemoved []int StatesTouched []int TimeDiff uint64 TimeSum is machine time after this transition. func github.com/pancsta/asyncmachine-go/tools/debugger/server.(*Client).TxParsed(idx int) *MsgTxParsed
CleanOnConnect bool DebugAddr string EnableClipboard bool EnableMouse bool FilterGroup bool FilterLogLevel am.LogLevel FwdData []string Id is the ID of this asyncmachine (for debugging). ImportData string ListenAddr string LogLevel is the log level of this instance (for debugging). LogOpsTtl time.Duration MachUrl string MaxMemMb int OutputClients bool OutputDiagrams int OutputDir string OutputTx bool ProfCpu bool ProfMem bool ProfSrv string RaceDetector bool Rain bool Reader bool SelectConnected bool StartupGroup string StartupMachine string StartupTx int StartupView string TailMode bool Timelines int UiDiagrams bool Version bool ViewNarrow bool ViewRain bool func ParseParams(cmd *cobra.Command, args []string) Params func GetLogger(params *Params, dir string) *log.Logger func HandleProfMem(logger *log.Logger, p *Params) func StartCpuProfile(logger *log.Logger, p *Params) func() func StartCpuProfileSrv(ctx context.Context, logger *log.Logger, p *Params)
func RootCmd(fn RootFn) *cobra.Command
Package-Level Functions (total 8)
func AddFlags(rootCmd *cobra.Command)
GetLogger returns a file logger, according to params.
func HandleProfMem(logger *log.Logger, p *Params)
func ParseParams(cmd *cobra.Command, args []string) Params
func StartCpuProfile(logger *log.Logger, p *Params) func()