Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTraceKey = options.DefaultTraceKey
Functions ¶
Types ¶
type KafkaLoggerFunc ¶ added in v0.1.1
type KafkaLoggerFunc func(msg string, args ...interface{})
msg: 消息 args: 参数
type OptionStatus ¶
type OptionStatus int8
const ( OptionStatusContinue OptionStatus = 1 // 流程未完成,需要继续执行 OptionStatusBreak OptionStatus = 2 // 流程已完成,可以返回结果了 )
type RedisExecLogFunc ¶ added in v0.1.1
RedisExecLogFunc is called each time when a redis command is executed. The "ts" parameter gives the time that the command takes to execute, args refer the exec params err refer to the result of the execution.
Click to show internal directories.
Click to hide internal directories.