Versions in this module Expand all Collapse all v1 v1.0.1 Dec 1, 2021 v1.0.0 Dec 1, 2021 Changes in this version + type Config struct + Enabled bool + Port uint16 + Route string + func (c Config) GetMetricsRoute() string + type Server interface + Shutdown func(timeout time.Duration) error + Start func() <-chan error + func NewServerFromConfig(cfg Config, mux *http.ServeMux) Server + func StartMetricsServer(logger logging.Logger, cfg Config, options ...ServerOption) Server + type ServerOption func(mux *http.ServeMux) *http.ServeMux + func WithProfilingHooks() ServerOption Other modules containing this package github.com/gdatasoftwareag/tftp/v2