service

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	DataPath() string
}

type DecodeError

type DecodeError struct {
	// contains filtered or unexported fields
}

func (DecodeError) Error

func (e DecodeError) Error() string

type DirError

type DirError struct {
	// contains filtered or unexported fields
}

func (DirError) Error

func (e DirError) Error() string

type EncodeError

type EncodeError struct {
	// contains filtered or unexported fields
}

func (EncodeError) Error

func (e EncodeError) Error() string

type LoadError

type LoadError struct {
	// contains filtered or unexported fields
}

func (LoadError) Error

func (e LoadError) 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)

type SaveError

type SaveError struct {
	// contains filtered or unexported fields
}

func (SaveError) Error

func (e SaveError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL