Documentation ¶
Index ¶
- type PProfRestHandler
- type PProfRestHandlerImpl
- func (p *PProfRestHandlerImpl) Allocs(w http.ResponseWriter, r *http.Request)
- func (p *PProfRestHandlerImpl) Block(w http.ResponseWriter, r *http.Request)
- func (p *PProfRestHandlerImpl) Cmdline(w http.ResponseWriter, r *http.Request)
- func (p *PProfRestHandlerImpl) Goroutine(w http.ResponseWriter, r *http.Request)
- func (p *PProfRestHandlerImpl) Heap(w http.ResponseWriter, r *http.Request)
- func (p *PProfRestHandlerImpl) Index(w http.ResponseWriter, r *http.Request)
- func (p *PProfRestHandlerImpl) Mutex(w http.ResponseWriter, r *http.Request)
- func (p *PProfRestHandlerImpl) Profile(w http.ResponseWriter, r *http.Request)
- func (p *PProfRestHandlerImpl) Symbol(w http.ResponseWriter, r *http.Request)
- func (p *PProfRestHandlerImpl) ThreadCreate(w http.ResponseWriter, r *http.Request)
- func (p *PProfRestHandlerImpl) Trace(w http.ResponseWriter, r *http.Request)
- type PProfRouter
- type PProfRouterImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PProfRestHandler ¶
type PProfRestHandler interface { Index(w http.ResponseWriter, r *http.Request) Cmdline(w http.ResponseWriter, r *http.Request) Profile(w http.ResponseWriter, r *http.Request) Symbol(w http.ResponseWriter, r *http.Request) Trace(w http.ResponseWriter, r *http.Request) Goroutine(w http.ResponseWriter, r *http.Request) ThreadCreate(w http.ResponseWriter, r *http.Request) Heap(w http.ResponseWriter, r *http.Request) Block(w http.ResponseWriter, r *http.Request) Mutex(w http.ResponseWriter, r *http.Request) Allocs(w http.ResponseWriter, r *http.Request) }
type PProfRestHandlerImpl ¶
type PProfRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewPProfRestHandler ¶
func NewPProfRestHandler(logger *zap.SugaredLogger) *PProfRestHandlerImpl
func (*PProfRestHandlerImpl) Allocs ¶
func (p *PProfRestHandlerImpl) Allocs(w http.ResponseWriter, r *http.Request)
func (*PProfRestHandlerImpl) Block ¶
func (p *PProfRestHandlerImpl) Block(w http.ResponseWriter, r *http.Request)
func (*PProfRestHandlerImpl) Cmdline ¶
func (p *PProfRestHandlerImpl) Cmdline(w http.ResponseWriter, r *http.Request)
func (*PProfRestHandlerImpl) Goroutine ¶
func (p *PProfRestHandlerImpl) Goroutine(w http.ResponseWriter, r *http.Request)
func (*PProfRestHandlerImpl) Heap ¶
func (p *PProfRestHandlerImpl) Heap(w http.ResponseWriter, r *http.Request)
func (*PProfRestHandlerImpl) Index ¶
func (p *PProfRestHandlerImpl) Index(w http.ResponseWriter, r *http.Request)
func (*PProfRestHandlerImpl) Mutex ¶
func (p *PProfRestHandlerImpl) Mutex(w http.ResponseWriter, r *http.Request)
func (*PProfRestHandlerImpl) Profile ¶
func (p *PProfRestHandlerImpl) Profile(w http.ResponseWriter, r *http.Request)
func (*PProfRestHandlerImpl) Symbol ¶
func (p *PProfRestHandlerImpl) Symbol(w http.ResponseWriter, r *http.Request)
func (*PProfRestHandlerImpl) ThreadCreate ¶
func (p *PProfRestHandlerImpl) ThreadCreate(w http.ResponseWriter, r *http.Request)
func (*PProfRestHandlerImpl) Trace ¶
func (p *PProfRestHandlerImpl) Trace(w http.ResponseWriter, r *http.Request)
type PProfRouter ¶
type PProfRouterImpl ¶
type PProfRouterImpl struct {
// contains filtered or unexported fields
}
func NewPProfRouter ¶
func NewPProfRouter(logger *zap.SugaredLogger) *PProfRouterImpl
func (*PProfRouterImpl) InitPProfRouter ¶
func (r *PProfRouterImpl) InitPProfRouter(router *mux.Router)
Click to show internal directories.
Click to hide internal directories.