package
Version:
v0.0.0-...-900ead6
Opens a new window with list of versions in this module.
Published: Jun 13, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ExceptionChannel() string
ExceptionChannel defined default exception channel
SendMessage send slack message
type Configure struct {
URL string `env:"SLACK_URL" envDefault:"https://hooks.slack.com/services/zzz/xxx/yyy"`
}
Configure config for slack
Config global defined slack config
type Message struct {
Text string `json:"text"`
Username string `json:"username"`
Channel string `json:"channel"`
}
Message defined message for slack
Source Files
¶
Click to show internal directories.
Click to hide internal directories.