Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInMemory ¶
Types ¶
type InMemoryStorage ¶
func (*InMemoryStorage) Append ¶
func (s *InMemoryStorage) Append(_ context.Context, n *notilog.Notification) error
func (*InMemoryStorage) Query ¶
func (s *InMemoryStorage) Query(_ context.Context, criteria ...notilog.Criterion) (res []*notilog.Notification, err error)
type SqliteStorage ¶
type SqliteStorage struct {
// contains filtered or unexported fields
}
func (*SqliteStorage) Append ¶
func (s *SqliteStorage) Append(ctx context.Context, notification *notilog.Notification) error
func (*SqliteStorage) Query ¶
func (s *SqliteStorage) Query(ctx context.Context, criteria ...notilog.Criterion) ([]*notilog.Notification, error)
Click to show internal directories.
Click to hide internal directories.