Documentation ¶
Index ¶
- Constants
- func ClosePerfCounter()
- func Cost(name string, cost time.Duration)
- func CostFail(key string, val int64)
- func ErrorIncr(key string, val int64)
- func Incr(key string, val int64)
- func Init()
- func InitPerfCounter(tar string, upd updater, initKeys []string)
- func SetRunPort(runPort int)
- func SetSuffixDecider(d DecideSuffix)
- func SetUpdater(upd updater)
- type DecideSuffix
Constants ¶
View Source
const ( DefaultSendCountOnce = 35 GoProjectsGoroutineNum = "go_projects_goroutine_num" )
Variables ¶
This section is empty.
Functions ¶
func ClosePerfCounter ¶
func ClosePerfCounter()
func InitPerfCounter ¶
func SetRunPort ¶
func SetRunPort(runPort int)
func SetSuffixDecider ¶
func SetSuffixDecider(d DecideSuffix)
func SetUpdater ¶
func SetUpdater(upd updater)
Types ¶
type DecideSuffix ¶
Click to show internal directories.
Click to hide internal directories.