Documentation ¶
Index ¶
- type CPUPair
- type DataStorage
- type DebugConfig
- func (p *DebugConfig) Charts_(w http.ResponseWriter, r *http.Request)
- func (p *DebugConfig) Charts_data(w http.ResponseWriter, r *http.Request)
- func (p *DebugConfig) Charts_datafeed(w http.ResponseWriter, r *http.Request)
- func (p *DebugConfig) OnEvent(event any)
- func (p *DebugConfig) Pprof_Trace(w http.ResponseWriter, r *http.Request)
- func (p *DebugConfig) Pprof_profile(w http.ResponseWriter, r *http.Request)
- func (p *DebugConfig) Profile(w http.ResponseWriter, r *http.Request)
- func (p *DebugConfig) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type PprofPair
- type SimplePair
- type WriteToFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataStorage ¶ added in v4.0.2
type DataStorage struct { BytesAllocated []SimplePair GcPauses []SimplePair CPUUsage []CPUPair Pprof []PprofPair }
type DebugConfig ¶
func (*DebugConfig) Charts_ ¶ added in v4.0.2
func (p *DebugConfig) Charts_(w http.ResponseWriter, r *http.Request)
func (*DebugConfig) Charts_data ¶ added in v4.0.2
func (p *DebugConfig) Charts_data(w http.ResponseWriter, r *http.Request)
func (*DebugConfig) Charts_datafeed ¶ added in v4.0.2
func (p *DebugConfig) Charts_datafeed(w http.ResponseWriter, r *http.Request)
func (*DebugConfig) OnEvent ¶
func (p *DebugConfig) OnEvent(event any)
func (*DebugConfig) Pprof_Trace ¶ added in v4.0.3
func (p *DebugConfig) Pprof_Trace(w http.ResponseWriter, r *http.Request)
func (*DebugConfig) Pprof_profile ¶ added in v4.0.3
func (p *DebugConfig) Pprof_profile(w http.ResponseWriter, r *http.Request)
func (*DebugConfig) Profile ¶
func (p *DebugConfig) Profile(w http.ResponseWriter, r *http.Request)
func (*DebugConfig) ServeHTTP ¶
func (p *DebugConfig) ServeHTTP(w http.ResponseWriter, r *http.Request)
type SimplePair ¶ added in v4.0.2
type WriteToFile ¶
func (*WriteToFile) Header ¶
func (w *WriteToFile) Header() http.Header
func (*WriteToFile) WriteHeader ¶
func (w *WriteToFile) WriteHeader(statusCode int)
func (w *WriteToFile) Write(p []byte) (int, error) { // w.w.Write(p) return w.Writer.Write(p) }
Click to show internal directories.
Click to hide internal directories.