Documentation
¶
Index ¶
- Variables
- func NewPProf()
- type Block
- type CollectionInfo
- type DebugPProf
- type Goroutine
- type Heap
- type Mutex
- type PProf
- func (p *PProf) BindBasicData(c *gin.Context) error
- func (p *PProf) GetImageCompletePath(ppf savefile.PPfile, ext string) *profile.Path
- func (p *PProf) GetPbGzCompletePath(ppf savefile.PPfile, ext string) *profile.Path
- func (p *PProf) GetURL(profilingUrl string) string
- func (p *PProf) HandleImage(saver save.Save, avgs []string) (int, error)
- func (p *PProf) HanldePzPb(url string, saver save.Save) (int, error)
- func (p *PProf) Response(path *profile.CompletePath) map[string]string
- type Profile
- type ServiceInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultServiceInfo = &ServiceInfo{} DefaultCollectionInfo = &CollectionInfo{} DefaultProfileFile savefile.PPfile DefaultHeapFile savefile.PPfile DefaultBlockFile savefile.PPfile DefaultMutexFile savefile.PPfile DefaultGoroutineFile savefile.PPfile )
Functions ¶
Types ¶
type CollectionInfo ¶
type DebugPProf ¶
type PProf ¶
type PProf struct {
Service *ServiceInfo
Collection *CollectionInfo
}
func (*PProf) GetImageCompletePath ¶
func (*PProf) GetPbGzCompletePath ¶
func (*PProf) HandleImage ¶
type ServiceInfo ¶
Click to show internal directories.
Click to hide internal directories.