Documentation ¶
Index ¶
- func Create(addr string) httpservice.Service
- func CreateWithConfigure(addr string, configFn ...func(*http.ServeMux)) httpservice.Service
- func LogLevelSwitchHandlerFunc(opts *LogSwitcherOpts) mchain.HandlerFunc
- func LogLevelSwitcher(opts *LogSwitcherOpts) func(*http.ServeMux)
- func SetupIndexNotFound(mux *http.ServeMux)
- func SetupPprof(mux *http.ServeMux)
- type LogSwitcherOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(addr string) httpservice.Service
func CreateWithConfigure ¶
func CreateWithConfigure(addr string, configFn ...func(*http.ServeMux)) httpservice.Service
func LogLevelSwitchHandlerFunc ¶
func LogLevelSwitchHandlerFunc(opts *LogSwitcherOpts) mchain.HandlerFunc
func LogLevelSwitcher ¶
func LogLevelSwitcher(opts *LogSwitcherOpts) func(*http.ServeMux)
func SetupIndexNotFound ¶
func SetupPprof ¶
Types ¶
type LogSwitcherOpts ¶
func DefaultLogSwitcherOpts ¶
func DefaultLogSwitcherOpts() LogSwitcherOpts
Click to show internal directories.
Click to hide internal directories.