report

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

README

dingtalk Environment variables

Field Name Type Environment Variable
WebHookUrl string DINGTALK_WEB_HOOK_URL
Secret string DINGTALK_SECRET

discord Environment variables

Field Name Type Environment Variable
Token string DISCORD_TOKEN
ChannelId string DISCORD_CHANNEL_ID

feishu Environment variables

Field Name Type Environment Variable
WebHookUrl string FEISHU_WEB_HOOK_URL
Secret string FEISHU_SECRET

slack Environment variables

Field Name Type Environment Variable
Token string slack_token
ChannelId int64 SLACK_CHANNEL_ID

telegram Environment variables

Field Name Type Environment Variable
Token string TELEGRAM_TOKEN
ChatId int64 TELEGRAM_CHAT_ID

workwx Environment variables

Field Name Type Environment Variable
URL string workwx_url

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, deploy IReport)

Types

type IReport

type IReport interface {
	WithEnvConfig() error
	SendText(msg string) error
}

func Get

func Get(name string) (IReport, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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