dynamostore

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package dynamostore implements auth.UserStore backed by DynamoDB via the generic dynamostore package.

Index

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
}

Store implements auth.UserStore.

func New

func New(db *ds.Store) *Store

New creates a DynamoDB-backed user store.

func (*Store) Create

func (s *Store) Create(ctx context.Context, user *auth.User) error

func (*Store) GetByEmail

func (s *Store) GetByEmail(ctx context.Context, email string) (*auth.User, error)

func (*Store) GetByID

func (s *Store) GetByID(ctx context.Context, id string) (*auth.User, error)

func (*Store) List

func (s *Store) List(ctx context.Context) ([]auth.User, error)

func (*Store) UpdateRole

func (s *Store) UpdateRole(ctx context.Context, id, role string) error

Jump to

Keyboard shortcuts

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