package
Version:
v2.0.0
Opens a new window with list of versions in this module.
Published: Sep 28, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Agent struct {
Host string `koanf:"host"`
Port string `koanf:"port"`
}
type Config struct {
Trace `koanf:"trace"`
Profiler `koanf:"profiler"`
Metric `koanf:"metric"`
}
type Metric struct {
Address string `koanf:"address"`
Enabled bool `koanf:"enabled"`
}
type Profiler struct {
Enabled bool `koanf:"enabled"`
Address string `koanf:"address"`
}
type Trace struct {
Enabled bool `koanf:"enabled"`
Agent `koanf:"agent"`
Ratio float64 `koanf:"ratio"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.