package
0.0.0-20210902034828-42829d4bdecd
Repository: https://github.com/baidu/go-lib.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
CreateCounterDiffHandler creates monitor handler for CounterDiff
Params: - getter: func for getting CounterDiff
Returns: - a monitor handler.
CreateDelayOutputHandler creates monitor handler for DelayRecent
Params: - getter: func for getting DelayOutput
Returns: - a monitor handler.
CreateMemStatsHandler creates monitor handler for getting memory statistics
Params: - keyPrefix: prefix of key, eg.
CreateStateDataHandler creates monitor handler for StateData
Params: - getter: func for getting StateData
Returns: - a monitor handler.
get format parameter.
InitReloadACL inits reload-acl from file.
MemStatsKVEncode gets encode data of MemStats in key-value format.
NewMonitorServer creates new MonitorServer.
NewWebHandlerMap creates new WebHandlerMap.
NewWebHandlers creates new WebHandlers.
RegisterHandlers registers handlers in handler-table to WebHandlers
Params: - wh : WebHandlers - hType : hanlder type, WebHandleMonitor or WebHandleReload or WebHandlePprof - ht : handler table.
# Constants
handler for monitor.
handler for pprof.
handler for reload.
# Variables
source ip address allowed to do reload.
# Type aliases
function prototype for getting CounterDiff/DelayOutput/StateData.
No description provided by the author
No description provided by the author
No description provided by the author