Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewServer), fx.Invoke(RegisterStatsviz), fx.Invoke(RegisterPprof), fx.Invoke(RegisterFgprof), fx.Invoke(RegisterPsutil), )
Module for fx.
Functions ¶
func RegisterPsutil ¶ added in v1.144.0
func RegisterPsutil(srv *Server, mar *json.Marshaller)
RegisterPprof for debug.
func RegisterStatsviz ¶ added in v1.144.0
func RegisterStatsviz(srv *Server)
RegisterStatsviz for debug.
Types ¶
type Server ¶ added in v1.144.0
Server for debug.
func NewServer ¶ added in v1.144.0
func NewServer(params ServerParams) (*Server, error)
NewServer for debug.
type ServerParams ¶ added in v1.144.0
ServerParams for debug.
Click to show internal directories.
Click to hide internal directories.