config

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Host string `koanf:"host"`
	Port string `koanf:"port"`
}

type Config

type Config struct {
	Trace    `koanf:"trace"`
	Profiler `koanf:"profiler"`
	Metric   `koanf:"metric"`
}

type Metric

type Metric struct {
	Address string `koanf:"address"`
	Enabled bool   `koanf:"enabled"`
}

type Profiler

type Profiler struct {
	Enabled bool   `koanf:"enabled"`
	Address string `koanf:"address"`
}

type Trace

type Trace struct {
	Enabled bool `koanf:"enabled"`
	Agent   `koanf:"agent"`
	Ratio   float64 `koanf:"ratio"`
}

Jump to

Keyboard shortcuts

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