Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func NewDefaultConfig ¶
func NewDefaultConfig() Config
type LastResponses ¶
type Result ¶
type Result struct { fx.Out Server lazy.Lazy[Server] LastResponses *concurrency.AtomicValue[LastResponses] `name:"dht_server_last_responses"` AppHook fx.Hook `group:"app_hooks"` QueryDuration prometheus.Collector `group:"prometheus_collectors"` QuerySuccessTotal prometheus.Collector `group:"prometheus_collectors"` QueryErrorTotal prometheus.Collector `group:"prometheus_collectors"` QueryConcurrency prometheus.Collector `group:"prometheus_collectors"` }
Click to show internal directories.
Click to hide internal directories.