Documentation ¶
Index ¶
Constants ¶
View Source
const ( //REQUESTTIMEOUT time out REQUESTTIMEOUT = 1000 * time.Millisecond //MAXRETRIES 重试 MAXRETRIES = 3 // Before we abandon )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventConfig ¶
type Logger ¶
type Logger interface { Info(string, map[string]string) Error(string, map[string]string) Debug(string, map[string]string) Event() string CreateTime() time.Time GetChan() chan []byte SetChan(chan []byte) GetWriter(step, level string) LoggerWriter }
Logger 日志发送器
type LoggerWriter ¶
LoggerWriter logger writer
Click to show internal directories.
Click to hide internal directories.