dingding

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL