profiler

package
v1.0.2-gitspaces-beta Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCPProfiler

type GCPProfiler struct {
}

func (*GCPProfiler) StartProfiling

func (gcpProfiler *GCPProfiler) StartProfiling(serviceName, serviceVersion string)

type NoopProfiler

type NoopProfiler struct {
}

func (*NoopProfiler) StartProfiling

func (noopProfiler *NoopProfiler) StartProfiling(serviceName, serviceVersion string)

type Profiler

type Profiler interface {
	StartProfiling(serviceName, serviceVersion string)
}

func New

func New(profiler Type) (Profiler, error)

type Type

type Type string
const (
	TypeGCP Type = "gcp"
)

func ParseType

func ParseType(profilerType string) (Type, bool)

Jump to

Keyboard shortcuts

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