Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Report ¶
type Report struct {
// Slack Bot API Token。
Token string `json:"token" xml:"token" yaml:"token" env:"slack_token"`
// Slack Channel ID。
ChannelId int64 `json:"channel_id" xml:"channelId" yaml:"ChannelId" env:"SLACK_CHANNEL_ID"`
}
func (*Report) SendText ¶
SendText https://docs.slack.dev/messaging/sending-and-scheduling-messages#publishing
func (*Report) WithEnvConfig ¶
Click to show internal directories.
Click to hide internal directories.