Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Expvar ¶
func Expvar(cfg Config) func() xhttp.RouteMapping
Expvar exposes and http endpoint to xhttp.
Types ¶
type Config ¶
type Config struct {
Path string `yaml:"path"`
}
Config hold the Expvar config.
func LoadConfig ¶
func LoadConfig(params LoadConfigParams) (Config, error)
Click to show internal directories.
Click to hide internal directories.