Documentation
¶
Index ¶
- type Config
- type DecodeError
- type DirError
- type EncodeError
- type LoadError
- type NotificationService
- func (service NotificationService) GetConfigurationPath(bucket string) string
- func (service NotificationService) Load(path string) error
- func (service NotificationService) LoadAll() error
- func (service NotificationService) ProcessEvent(event domain.NotificationEvent) error
- func (service NotificationService) Save(bucket string, config domain.NotificationConfiguration) (string, error)
- func (service NotificationService) Start(bucket string, config domain.NotificationConfiguration)
- type SaveError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecodeError ¶
type DecodeError struct {
// contains filtered or unexported fields
}
func (DecodeError) Error ¶
func (e DecodeError) Error() string
type EncodeError ¶
type EncodeError struct {
// contains filtered or unexported fields
}
func (EncodeError) Error ¶
func (e EncodeError) Error() string
type NotificationService ¶
type NotificationService struct {
// contains filtered or unexported fields
}
func NewNotificationService ¶
func NewNotificationService(config Config, invoker domain.CloudFunctionInvoker) *NotificationService
func (NotificationService) GetConfigurationPath ¶
func (service NotificationService) GetConfigurationPath(bucket string) string
func (NotificationService) Load ¶
func (service NotificationService) Load(path string) error
func (NotificationService) LoadAll ¶
func (service NotificationService) LoadAll() error
func (NotificationService) ProcessEvent ¶
func (service NotificationService) ProcessEvent(event domain.NotificationEvent) error
func (NotificationService) Save ¶
func (service NotificationService) Save(bucket string, config domain.NotificationConfiguration) (string, error)
func (NotificationService) Start ¶
func (service NotificationService) Start(bucket string, config domain.NotificationConfiguration)
Click to show internal directories.
Click to hide internal directories.