Documentation
¶
Index ¶
- func GetEnv(key string) string
- func New()
- func NewCustomInstance(channel string, username string, url string)
- type SlackWebhook
- func (s *SlackWebhook) Error(message string, e error)
- func (s *SlackWebhook) ErrorWithData(message string, data []byte, e error)
- func (s *SlackWebhook) Info(message string)
- func (s *SlackWebhook) InfoWidthData(message string, data []byte)
- func (s *SlackWebhook) Warning(message string, e error)
- func (s *SlackWebhook) WarningWithData(message string, data []byte, e error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCustomInstance ¶ added in v0.0.5
Types ¶
type SlackWebhook ¶
var Slack SlackWebhook
func (*SlackWebhook) Error ¶
func (s *SlackWebhook) Error(message string, e error)
func (*SlackWebhook) ErrorWithData ¶
func (s *SlackWebhook) ErrorWithData(message string, data []byte, e error)
func (*SlackWebhook) Info ¶
func (s *SlackWebhook) Info(message string)
func (*SlackWebhook) InfoWidthData ¶
func (s *SlackWebhook) InfoWidthData(message string, data []byte)
func (*SlackWebhook) Warning ¶
func (s *SlackWebhook) Warning(message string, e error)
func (*SlackWebhook) WarningWithData ¶
func (s *SlackWebhook) WarningWithData(message string, data []byte, e error)
Click to show internal directories.
Click to hide internal directories.