Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PprofHandler ¶
type PprofHandler struct {
Handle http.HandlerFunc
}
func (*PprofHandler) ServeHTTP ¶
func (h *PprofHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request)
type Pprofer ¶
type Pprofer struct {
// contains filtered or unexported fields
}
An update method of adding pprof to the controller manager.
func NewPprofer ¶
func NewPprofer(opts ...PproferOptions) *Pprofer
type PproferOptions ¶
type PproferOptions func(*Pprofer)
Options
func WithCmdline ¶
func WithCmdline(val bool) PproferOptions
func WithIndex ¶
func WithIndex(val bool) PproferOptions
func WithProfile ¶
func WithProfile(val bool) PproferOptions
func WithSymbol ¶
func WithSymbol(val bool) PproferOptions
func WithTrace ¶
func WithTrace(val bool) PproferOptions
Click to show internal directories.
Click to hide internal directories.