Documentation ¶
Index ¶
- Variables
- func IsEnabled(c *Config) bool
- func NewServeMux() *http.ServeMux
- func RegisterFgprof(mux *http.ServeMux)
- func RegisterPprof(mux *http.ServeMux)
- func RegisterPsutil(mux *http.ServeMux, json *marshaller.JSON)
- func RegisterStatsviz(mux *http.ServeMux)
- type Config
- type Server
- type ServerParams
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewServeMux), fx.Provide(NewServer), fx.Invoke(RegisterStatsviz), fx.Invoke(RegisterPprof), fx.Invoke(RegisterFgprof), fx.Invoke(RegisterPsutil), )
Module for fx.
Functions ¶
func RegisterFgprof ¶ added in v1.154.1
RegisterFgprof for debug.
func RegisterPprof ¶ added in v1.144.0
RegisterPprof for debug.
func RegisterPsutil ¶ added in v1.144.0
func RegisterPsutil(mux *http.ServeMux, json *marshaller.JSON)
RegisterPprof for debug.
func RegisterStatsviz ¶ added in v1.144.0
RegisterStatsviz for debug.
Types ¶
Click to show internal directories.
Click to hide internal directories.