selfprofiler

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SelfProfiler

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

func New

func New(log *logrus.Entry, enabled bool, remoteAddr string, authToken string) *SelfProfiler

func (*SelfProfiler) Start

func (s *SelfProfiler) Start() error

Start starts the self profiler It should never return an error TODO(eh-am): refactor this

func (*SelfProfiler) Stop

func (s *SelfProfiler) Stop(context.Context) error

Jump to

Keyboard shortcuts

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