pkg/services/standard/enumless_config.go
raw| 1 | package standard |
| 2 | |
| 3 | import ( |
| 4 | "github.com/nicholas-fedor/shoutrrr/pkg/types" |
| 5 | ) |
| 6 | |
| 7 | // EnumlessConfig implements the ServiceConfig interface for services that does not use Enum fields. |
| 8 | type EnumlessConfig struct{} |
| 9 | |
| 10 | // Enums returns an empty map. |
| 11 | func (ec *EnumlessConfig) Enums() map[string]types.EnumFormatter { |
| 12 | return map[string]types.EnumFormatter{} |
| 13 | } |