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 RegisterFgprof ¶ added in v1.154.1
func RegisterFgprof(server *Server)
RegisterFgprof for debug.
func RegisterPsutil ¶ added in v1.144.0
func RegisterPsutil(server *Server, json *marshaller.JSON)
RegisterPprof for debug.
func RegisterStatsviz ¶ added in v1.144.0
func RegisterStatsviz(server *Server)
RegisterStatsviz for debug.
Types ¶
type Server ¶ added in v1.144.0
type Server struct {
// contains filtered or unexported fields
}
Server for HTTP.
func NewServer ¶ added in v1.144.0
func NewServer(params ServerParams) (*Server, error)
NewServer for HTTP.
type ServerParams ¶ added in v1.144.0
ServerParams for HTTP.
Click to show internal directories.
Click to hide internal directories.