base.go 193 B

1234567891011121314
  1. package notifiers
  2. type NotifierBase struct {
  3. Name string
  4. Type string
  5. }
  6. func (n *NotifierBase) GetType() string {
  7. return n.Type
  8. }
  9. func (n *NotifierBase) NeedsImage() bool {
  10. return true
  11. }