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
Package-Level Type Names (total 9)
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
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
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)
Package-Level Functions (total 8)
GetLogger returns a file logger, according to params.
func HandleProfMem(logger *log.Logger, p *Params) func ParseMachUrl(u string) (*MachAddress, error) func ParseParams(cmd *cobra.Command, args []string) Params func StartCpuProfile(logger *log.Logger, p *Params) func()
Package-Level Constants (total 8)
const LogReaderCtx LogReaderKind = 1 const LogReaderPipeIn LogReaderKind = 7 const LogReaderPipeOut LogReaderKind = 8 const LogReaderWhen LogReaderKind = 2 const LogReaderWhenArgs LogReaderKind = 5 const LogReaderWhenNot LogReaderKind = 3 const LogReaderWhenQueue LogReaderKind = 6 const LogReaderWhenTime LogReaderKind = 4![]() |
The pages are generated with Golds v0.8.2. (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. |