Documentation ¶
Index ¶
- Constants
- type SmtpHandler
- func (s SmtpHandler) CreateEventHandler(createOpts types.AlertEventHandlerReq) (types.AlertEventHandler, error)
- func (s SmtpHandler) DeleteEventHandler(name string) error
- func (s SmtpHandler) GetEventHandler(name string) (types.AlertEventHandler, error)
- func (s SmtpHandler) ListEventHandlers() ([]types.AlertEventHandler, error)
- func (s SmtpHandler) UpdateEventHandler(name string, updateOpts types.AlertEventHandlerReq) (types.AlertEventHandler, error)
Constants ¶
View Source
const (
EventType = "smtp"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmtpHandler ¶
type SmtpHandler struct{}
func (SmtpHandler) CreateEventHandler ¶
func (s SmtpHandler) CreateEventHandler(createOpts types.AlertEventHandlerReq) (types.AlertEventHandler, error)
func (SmtpHandler) DeleteEventHandler ¶
func (s SmtpHandler) DeleteEventHandler(name string) error
func (SmtpHandler) GetEventHandler ¶
func (s SmtpHandler) GetEventHandler(name string) (types.AlertEventHandler, error)
func (SmtpHandler) ListEventHandlers ¶
func (s SmtpHandler) ListEventHandlers() ([]types.AlertEventHandler, error)
func (SmtpHandler) UpdateEventHandler ¶
func (s SmtpHandler) UpdateEventHandler(name string, updateOpts types.AlertEventHandlerReq) (types.AlertEventHandler, error)
Click to show internal directories.
Click to hide internal directories.