Documentation
¶
Index ¶
- Variables
- func Busi(sub string, format string, params ...interface{})
- func Debug(format string, params ...interface{})
- func Error(format string, params ...interface{})
- func Info(format string, params ...interface{})
- func Init(module, subcate string, level int, mode int)
- func Warn(format string, params ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Level int Mode int )
View Source
var AddrFunc = func() (string, error) { return "127.0.0.1:28702", nil }
请赋值成自己的获取master addr的函数
View Source
var SplitFunc = func(content string) (contents []string) { for bpos, epos, seg, l := 0, 0, 65000, len(content); bpos < l; bpos += seg { epos = bpos + seg if epos > l { epos = l } contents = append(contents, content[bpos:epos]) } return }
请赋值成自己的split content的函数
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.