Documentation ¶
Index ¶
Constants ¶
View Source
const ( MsgTypeStatus = "status" MsgTypeException = "exception" MsgTypeStartUp = "startup" MsgTypeEntry = "entry" MsgTypeExit = "exit" MsgTypeMarket = "market" )
Variables ¶
This section is empty.
Functions ¶
func TrySendExc ¶
Types ¶
type ExcEncoder ¶
type ExcEncoder struct {
*log.TextEncoder
}
func (*ExcEncoder) Clone ¶
func (e *ExcEncoder) Clone() *ExcEncoder
func (*ExcEncoder) EncodeEntry ¶
type ExcNotify ¶
type ExcNotify struct { zapcore.LevelEnabler // contains filtered or unexported fields }
func NewExcNotify ¶
func NewExcNotify() *ExcNotify
func (*ExcNotify) Check ¶
func (h *ExcNotify) Check(ent zapcore.Entry, ce *zapcore.CheckedEntry) *zapcore.CheckedEntry
type WeWorkATRes ¶
type WeWorkSendRes ¶
type WebHook ¶
type WebHook struct { Config map[string]interface{} MsgTypes map[string]bool Accounts map[string]bool Queue chan map[string]string // contains filtered or unexported fields }
func NewWebHook ¶
func (*WebHook) ConsumeForever ¶
func (h *WebHook) ConsumeForever()
func (*WebHook) SetDisable ¶
Click to show internal directories.
Click to hide internal directories.