Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugService ¶
injectable debug service
func (*DebugService) Handle ¶
func (s *DebugService) Handle(pattern string, handler http.Handler)
Use Handle and HandleFunc to add new services on the internal debugging port.
func (*DebugService) HandleFunc ¶
func (s *DebugService) HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
func (*DebugService) Publish ¶
func (s *DebugService) Publish(name string, v interface{})
Publish an expvar at /debug/vars, possibly using Func
func (*DebugService) Start ¶
func (s *DebugService) Start() error
Click to show internal directories.
Click to hide internal directories.