Documentation ¶
Index ¶
- func DeadlockDetect(args []string, deadlockIgnores []string) string
- func ReadFileHead(note string, texts []string, maxNum int) string
- func ReadFileTail(note string, texts []string, maxNum int) string
- type CommandAppInfo
- type CommandAuth
- type CommandHelp
- type CommandLogList
- type DetectItem
- type HtmlResponse
- type LogFileInfo
- type ReadFileArgs
- type TopicTop
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeadlockDetect ¶
Types ¶
type CommandAppInfo ¶
type CommandAuth ¶
type CommandHelp ¶
func FetchCommandHelp ¶
func FetchCommandHelp(commands []ifs.Command, isAuthorized bool) []CommandHelp
func FetchPProfHelp ¶
func FetchPProfHelp(args []string) []CommandHelp
func FetchTopicHelp ¶
func FetchTopicHelp(topics []ifs.Command, isAuthorized bool) []CommandHelp
type CommandLogList ¶
type CommandLogList struct {
LogFiles []LogFileInfo `json:"logFiles"`
}
func NewCommandLogList ¶
func NewCommandLogList(logRoot string) *CommandLogList
type DetectItem ¶
type HtmlResponse ¶
type HtmlResponse struct {
Html string `json:"html"`
}
type LogFileInfo ¶
type ReadFileArgs ¶
type TopicTop ¶
type TopicTop struct { IP string `json:"ip"` UpTime string `json:"uptime"` CpuUsage string `json:"cpu"` SysMemory string `json:"sys"` TotalMemory string `json:"total"` NumGoroutine int `json:"numGoroutine"` PauseTotalNs uint64 `json:"pauseTotalNs"` NumGC uint32 `json:"numGC"` }
func NewTopicTop ¶
func NewTopicTop() *TopicTop
Click to show internal directories.
Click to hide internal directories.