profiler

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics interface {
	Start(ctx context.Context)
	Stop()
}

Metrics is an interface of metric tool.

func NewMetrics

func NewMetrics(l *zap.Logger, v *viper.Viper) Metrics

NewMetrics is a metric tool's constructor.

type Profiler

type Profiler interface {
	Start(ctx context.Context)
	Stop()
}

Profiler is an interface of profiler.

func NewProfiler

func NewProfiler(l *zap.Logger, v *viper.Viper) Profiler

NewProfiler is a profiler's constructor.

Jump to

Keyboard shortcuts

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