package
Version:
v0.0.0-...-c410bd8
Opens a new window with list of versions in this module.
Published: Aug 3, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 21
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 `json:"host,omitempty" koanf:"host"`
Port string `json:"port,omitempty" koanf:"port"`
}
type Config struct {
Trace Trace `json:"trace,omitempty" koanf:"trace"`
Meter Meter `json:"meter,omitempty" koanf:"meter"`
Namespace string `json:"namespace,omitempty" koanf:"namespace"`
ServiceName string `json:"service_name,omitempty" koanf:"service_name"`
}
type Meter struct {
Address string `json:"address,omitempty" koanf:"address"`
Enabled bool `json:"enabled,omitempty" koanf:"enabled"`
}
type Trace struct {
Enabled bool `json:"enabled,omitempty" koanf:"enabled"`
Agent Agent `json:"agent,omitempty" koanf:"agent"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.