Documentation ¶ Index ¶ func NewCore(token, secret string, level zapcore.Level) zapcore.Core func NewDingEncoder(cfg *zapcore.EncoderConfig) zapcore.Encoder func RegisterSink() type TalkHook func (th *TalkHook) Close() error func (th *TalkHook) Sync() error func (th *TalkHook) Write(b []byte) (n int, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewCore ¶ func NewCore(token, secret string, level zapcore.Level) zapcore.Core func NewDingEncoder ¶ func NewDingEncoder(cfg *zapcore.EncoderConfig) zapcore.Encoder func RegisterSink ¶ func RegisterSink() dingding://${token}?sercret=${sercret} Types ¶ type TalkHook ¶ type TalkHook dingding.DingRobotConfig func (*TalkHook) Close ¶ func (th *TalkHook) Close() error func (*TalkHook) Sync ¶ func (th *TalkHook) Sync() error func (*TalkHook) Write ¶ func (th *TalkHook) Write(b []byte) (n int, err error) Source Files ¶ View all Source files core.go encoder.go sink.go Click to show internal directories. Click to hide internal directories.