commonprofiler

package
v0.0.0-...-8f1e690 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProfilerCli

type ProfilerCli struct {
	ProfilerCliConfig `embed`
}

type ProfilerCliConfig

type ProfilerCliConfig struct {
	CpuProfile string `name:"cpuprofile" help:"Write cpu profile to FILE." placeholder:"FILE"`
	MemProfile string `name:"memprofile" help:"Write memory profile to FILE." placeholder:"FILE"`
}

type Service

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

func New

func New(cfg *ProfilerCliConfig) *Service

func (*Service) Begin

func (s *Service) Begin() error

func (*Service) End

func (s *Service) End() error

Jump to

Keyboard shortcuts

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