profile

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultMemProfileRate = 409

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Profile) error

func WithAll

func WithAll() Option

func WithPath

func WithPath(path string) Option

type Profile

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

func New

func New(opts ...Option) (*Profile, error)

func (*Profile) Start

func (p *Profile) Start() error

func (*Profile) Stop

func (p *Profile) Stop()

Jump to

Keyboard shortcuts

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