Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
Notifier is the notifier for webex
func (*Notifier) Configure ¶
func (w *Notifier) Configure(webexConfig NotifierConfig) error
Configure configures the notifier
func (*Notifier) GetName ¶
func (w *Notifier) GetName() notifiers.NotifierName
GetName returns the name of the notifier
type NotifierConfig ¶
type NotifierConfig struct {
Enabled bool `json:"enabled"`
AccessToken string `json:"accessToken"`
}
NotifierConfig is the config for the Webex notifier
func (*NotifierConfig) Validate ¶
func (w *NotifierConfig) Validate() error
Validate validates the config
type SendConfig ¶
type SendConfig struct {
RoomID string `json:"roomId"`
}
SendConfig is the config for the Webex notifier
Click to show internal directories.
Click to hide internal directories.