Documentation ¶ Index ¶ type Store func NewMemoryStore(cfg config.Config) (*Store, error) func (s *Store) Create(ctx context.Context, user domain.User) (domain.User, error) func (s *Store) Get(ctx context.Context, id string) (domain.User, error) func (s *Store) List(ctx context.Context) ([]domain.User, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Store ¶ type Store struct { // contains filtered or unexported fields } func NewMemoryStore ¶ func NewMemoryStore(cfg config.Config) (*Store, error) func (*Store) Create ¶ func (s *Store) Create(ctx context.Context, user domain.User) (domain.User, error) func (*Store) Get ¶ func (s *Store) Get(ctx context.Context, id string) (domain.User, error) func (*Store) List ¶ func (s *Store) List(ctx context.Context) ([]domain.User, error) Source Files ¶ View all Source files store.go Click to show internal directories. Click to hide internal directories.