Documentation ¶
Index ¶
Constants ¶
View Source
const ( CONFIG_CMD_PROFILER_ON = iota CONFIG_CMD_PROFILER_OFF CONFIG_CMD_PROFILER_STATUS )
Variables ¶
This section is empty.
Functions ¶
func RegisterProfilerCommand ¶
Types ¶
type ProfilerServer ¶
func NewProfiler ¶
func NewProfiler(port int) *ProfilerServer
func (*ProfilerServer) CheckAndStart ¶
func (s *ProfilerServer) CheckAndStart()
func (*ProfilerServer) RecvCommand ¶
func (*ProfilerServer) Start ¶
func (s *ProfilerServer) Start()
func (*ProfilerServer) Stop ¶
func (s *ProfilerServer) Stop()
Click to show internal directories.
Click to hide internal directories.