Versions in this module Expand all Collapse all v1 v1.0.2 Mar 22, 2024 v1.0.1 Nov 9, 2023 Changes in this version + const TraceFilterOff + const TraceFilterOn + func DisableTrace(w http.ResponseWriter, _ *http.Request) + func EnableTrace(w http.ResponseWriter, _ *http.Request) + func TraceDisabled() bool + func TraceStatus(w http.ResponseWriter, _ *http.Request) + type Option func(o *Options) + func WithAddr(addr string) Option + func WithEnableHotSwitch(enable bool) Option + func WithEnablePprof(enable bool) Option + func WithEnablePrometheus(enable bool) Option + func WithEnableZPage(enable bool) Option + type Options struct + type Server struct + func NewServer(opts ...Option) (*Server, error) + func (s *Server) HTTPServer() *http.Server + func (s *Server) Serve() error