15 lines
193 B
Go
15 lines
193 B
Go
package notifiers
|
|
|
|
type NotifierBase struct {
|
|
Name string
|
|
Type string
|
|
}
|
|
|
|
func (n *NotifierBase) GetType() string {
|
|
return n.Type
|
|
}
|
|
|
|
func (n *NotifierBase) NeedsImage() bool {
|
|
return true
|
|
}
|