Documentation ¶ Index ¶ func NewCore(token, secret string, level zapcore.Level) zapcore.Core func NewDingEncoder(cfg *zapcore.EncoderConfig) zapcore.Encoder func RegisterSink() type DingDing func (th *DingDing) Close() error func (th *DingDing) Sync() error func (th *DingDing) 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 DingDing ¶ added in v1.5.11 type DingDing dingding.RobotConfig func (*DingDing) Close ¶ added in v1.5.11 func (th *DingDing) Close() error func (*DingDing) Sync ¶ added in v1.5.11 func (th *DingDing) Sync() error func (*DingDing) Write ¶ added in v1.5.11 func (th *DingDing) Write(b []byte) (n int, err error) TODO Source Files ¶ View all Source files core.go encoder.go sink.go Click to show internal directories. Click to hide internal directories.