Documentation
¶
Index ¶
- func AddFlags(rootCmd *cobra.Command)
- func GetLogger(params *Params) *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 am.LogLevel LogFile string Version bool ServerAddr string DebugAddr string ImportData string ClientList string StartupMachine string StartupView string StartupTx int EnableMouse bool CleanOnConnect bool SelectConnected bool ProfMem bool ProfCpu bool ProfSrv string MaxMemMb int Log2Ttl time.Duration Reader bool FwdData []string }
Click to show internal directories.
Click to hide internal directories.