Documentation
¶
Index ¶
- func AddFlags(rootCmd *cobra.Command)
- func GetLogger(params *Params, dir string) *log.Logger
- func HandleProfMem(logger *log.Logger, p *Params)
- func RootCmd(fn RootFn) *cobra.Command
- func StartCpuProfile(logger *log.Logger, p *Params) func()
- func StartCpuProfileSrv(ctx context.Context, logger *log.Logger, p *Params)
- type Params
- type RootFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleProfMem ¶ added in v0.7.0
func StartCpuProfile ¶ added in v0.7.0
Types ¶
type Params ¶
type Params struct {
// LogLevel is the log level of this instance (for debugging).
LogLevel am.LogLevel
// Id is the ID of this asyncmachine (for debugging).
Id string
Version bool
ListenAddr string
DebugAddr string
RaceDetector bool
ImportData string
EnableMouse bool
EnableClipboard bool
CleanOnConnect bool
SelectConnected bool
ProfMem bool
ProfCpu bool
ProfSrv string
MaxMemMb int
LogOpsTtl time.Duration
Reader bool
FwdData []string
StartupMachine string
StartupView string
StartupTx int
StartupGroup string
ViewNarrow bool
ViewRain bool
FilterGroup bool
FilterLogLevel am.LogLevel
OutputDir string
OutputDiagrams int
UiDiagrams bool
OutputClients bool
Timelines int
Rain bool
TailMode bool
OutputTx bool
MachUrl string
}
Click to show internal directories.
Click to hide internal directories.