Documentation ¶
Index ¶
- Constants
- func GetCurrentConnectionCount() int
- func GetLocalServerFd() (*os.File, error)
- func HandleConn(conn *net.Conn)
- func StartLocalServer() error
- func StartPProf()
- func StopConsole()
- func StopLocalServer()
- func StopPProf()
- type ConnAction
- type ConnActionStatus
- type ProcessResult
- type Request
- type Stats
- type StatsMessage
- type StoppingSigalOp
Constants ¶
View Source
const ( HEAD_TAG_LENGTH = 8 STATUS_TAG_LENGTH = 8 )
View Source
const ( // 内存保存的最大统计数据天数 MAX_IN_MEM_STATS_LENGTH = 30 GC_IN_MEM_STATS_INTERVAL = time.Minute * 60 CONNACTION_ACCEPT = ConnAction(1) CONNACTION_RESPONSE = ConnAction(2) CONNACTION_PROCESS_FIN = ConnAction(3) CONNACTION_STATUS_OK = ConnActionStatus(1) CONNACTION_STATUS_FAILED = ConnActionStatus(1) )
Variables ¶
This section is empty.
Functions ¶
func GetCurrentConnectionCount ¶
func GetCurrentConnectionCount() int
func GetLocalServerFd ¶
func StopConsole ¶
func StopConsole()
func StopLocalServer ¶
func StopLocalServer()
Types ¶
type ConnActionStatus ¶
type ConnActionStatus int8
type ProcessResult ¶
type StatsMessage ¶
type StatsMessage struct {
// contains filtered or unexported fields
}
type StoppingSigalOp ¶
type StoppingSigalOp struct {
// contains filtered or unexported fields
}
func (*StoppingSigalOp) SendSignal ¶
func (sso *StoppingSigalOp) SendSignal()
func (*StoppingSigalOp) Unuse ¶
func (sso *StoppingSigalOp) Unuse()
func (*StoppingSigalOp) Use ¶
func (sso *StoppingSigalOp) Use()
Click to show internal directories.
Click to hide internal directories.