notifying

package
v0.0.0-...-26b8432 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNotifyingStore

func NewNotifyingStore(wrapped userz.Store, provider notifier.Notifier) userz.Store

Types

type NotifyingStore

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

func (*NotifyingStore) Add

func (s *NotifyingStore) Add(ctx context.Context, user *userz.UserData) (*userz.User, error)

func (*NotifyingStore) List

func (s *NotifyingStore) List(ctx context.Context, filter *userz.Filter, pageSize uint) (userz.Iterator[[]*userz.User], error)

func (*NotifyingStore) Page

func (s *NotifyingStore) Page(ctx context.Context, filter *userz.Filter, params *userz.PageParams) ([]*userz.User, error)

func (*NotifyingStore) Remove

func (s *NotifyingStore) Remove(ctx context.Context, id string) (*userz.User, error)

func (*NotifyingStore) Update

func (s *NotifyingStore) Update(ctx context.Context, id string, user *userz.UserData) (*userz.User, error)

Jump to

Keyboard shortcuts

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