Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
dns
command
|
|
examples
|
|
doh-resolver
command
|
|
doh-server
command
|
|
dot-resolver
command
|
|
dot-server
command
|
|
internal
|
|
metrics
Package metrics sets up metrics and creates a metrics service.
|
Package metrics sets up metrics and creates a metrics service. |
metrics/noop
Package noop initializes all No-op metrics objects.
|
Package noop initializes all No-op metrics objects. |
metrics/prometheus
Package prometheus offers a New function to return a Prometheus HTTP server together with all the metrics registered.
|
Package prometheus offers a New function to return a Prometheus HTTP server together with all the metrics registered. |
pkg
|
|
doh/metrics/noop
Package noop defines a No-op metric implementation for DoH.
|
Package noop defines a No-op metric implementation for DoH. |
doh/metrics/prometheus
Package prometheus defines a Prometheus metric implementation for DoH.
|
Package prometheus defines a Prometheus metric implementation for DoH. |
dot/metrics/noop
Package noop defines a No-Op metric implementation for DoT.
|
Package noop defines a No-Op metric implementation for DoT. |
dot/metrics/prometheus
Package prometheus defines a Prometheus metric implementation for DoT.
|
Package prometheus defines a Prometheus metric implementation for DoT. |
metrics/prometheus
Package prometheus defines shared elements for Prometheus.
|
Package prometheus defines shared elements for Prometheus. |
middlewares/cache/metrics/noop
Package noop defines a No-op metric implementation for the cache.
|
Package noop defines a No-op metric implementation for the cache. |
middlewares/cache/metrics/prometheus
Package prometheus defines a Prometheus metric implementation for the cache.
|
Package prometheus defines a Prometheus metric implementation for the cache. |
middlewares/filter/metrics/noop
Package noop defines a No-op metric implementation for the filter.
|
Package noop defines a No-op metric implementation for the filter. |
middlewares/filter/metrics/prometheus
Package prometheus defines a Prometheus metric implementation for the filter.
|
Package prometheus defines a Prometheus metric implementation for the filter. |
middlewares/log
Package log defines a middleware to handle response writing errors as well as log each request and its response if enabled.
|
Package log defines a middleware to handle response writing errors as well as log each request and its response if enabled. |
middlewares/metrics
Package metrics defines the DNS metrics middleware and a metric interface to give to the middleware constructor.
|
Package metrics defines the DNS metrics middleware and a metric interface to give to the middleware constructor. |
middlewares/metrics/noop
Package noop defines a No-Op metric implementation for the metrics middleware.
|
Package noop defines a No-Op metric implementation for the metrics middleware. |
middlewares/metrics/prometheus
Package prometheus defines a Prometheus metric implementation for a DNS server middleware.
|
Package prometheus defines a Prometheus metric implementation for a DNS server middleware. |
plain/metrics/noop
Package noop defines a No-Op metric implementation for DoT.
|
Package noop defines a No-Op metric implementation for DoT. |
plain/metrics/prometheus
Package prometheus defines a Prometheus metric implementation for DoT.
|
Package prometheus defines a Prometheus metric implementation for DoT. |
Click to show internal directories.
Click to hide internal directories.