base

package
v0.0.0-...-724c7a8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2022 License: EUPL-1.2 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	Debug      string `` /* 189-byte string literal not displayed */
	CPUProfile string `short:"C" long:"cpu-profile" description:"The (optional) path where the CPU profiler will store its data." optional:"yes"`
	MemProfile string `short:"M" long:"mem-profile" description:"The (optional) path where the memory profiler will store its data." optional:"yes"`
	Logger     string `` /* 157-byte string literal not displayed */
}

func (*Base) GetLogger

func (cmd *Base) GetLogger() logging.Logger

func (*Base) ProfileCPU

func (cmd *Base) ProfileCPU(logger logging.Logger) *Closer

func (*Base) ProfileMemory

func (cmd *Base) ProfileMemory(logger logging.Logger)

type Closer

type Closer struct {
	// contains filtered or unexported fields
}

func (*Closer) Close

func (c *Closer) Close()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL