Documentation ¶
Index ¶
- type Store
- func (s Store) Delete(ctx context.Context, f user.Filter) error
- func (s Store) DeleteEntity(ctx context.Context, f user.FilterEntity) ([]user.Entity, error)
- func (s Store) DeletePermission(ctx context.Context, f user.FilterPermission) error
- func (s Store) DeleteRole(ctx context.Context, f user.FilterRole) error
- func (s Store) DeleteRoleUser(ctx context.Context, f user.FilterRoleUser) error
- func (s Store) Fetch(ctx context.Context, f user.Filter) (user.U, error)
- func (s Store) FetchEntity(ctx context.Context, f user.FilterEntity) (user.Entity, error)
- func (s Store) FetchPermission(ctx context.Context, f user.FilterPermission) (user.Permission, error)
- func (s Store) FetchRole(ctx context.Context, f user.FilterRole) (user.Role, error)
- func (s Store) FetchRoleUser(ctx context.Context, f user.FilterRoleUser) (user.RoleUser, error)
- func (s Store) FetchWithPassword(ctx context.Context, f user.Filter) (user.U, error)
- func (s Store) Insert(ctx context.Context, u user.U) error
- func (s Store) InsertEntity(ctx context.Context, entity user.Entity) error
- func (s Store) InsertPermission(ctx context.Context, permission user.Permission) error
- func (s Store) InsertPermissions(ctx context.Context, permissions []user.Permission) error
- func (s Store) InsertRole(ctx context.Context, role user.Role) error
- func (s Store) InsertRoleUser(ctx context.Context, roleUser user.RoleUser) error
- func (s Store) List(ctx context.Context, f user.Filter) ([]user.U, uint64, error)
- func (s Store) ListByEntity(ctx context.Context, f user.Filter) ([]user.U, uint64, error)
- func (s Store) ListByRole(ctx context.Context, f user.Filter) (map[string][]user.U, uint64, error)
- func (s Store) ListClaims(ctx context.Context, userID ulid.ID) (user.ClaimAuth, error)
- func (s Store) ListEntity(ctx context.Context, f user.FilterEntity) ([]user.Entity, uint64, error)
- func (s Store) ListPermission(ctx context.Context, f user.FilterPermission) ([]user.Permission, error)
- func (s Store) ListRole(ctx context.Context, f user.FilterRole) ([]user.Role, uint64, error)
- func (s Store) ListRoleByUser(ctx context.Context, f user.FilterRole) (map[string][]user.Role, uint64, error)
- func (s Store) ListRoleUser(ctx context.Context, f user.FilterRoleUser) ([]user.RoleUser, error)
- func (s Store) Update(ctx context.Context, f user.Filter, p user.Patch) ([]user.U, error)
- func (s Store) UpdateEntity(ctx context.Context, f user.FilterEntity, p user.PatchEntity) ([]user.Entity, error)
- func (s Store) UpdateRole(ctx context.Context, f user.FilterRole, p user.PatchRole) ([]user.Role, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct{}
func (Store) DeleteEntity ¶
func (Store) DeletePermission ¶
func (Store) DeleteRole ¶
func (Store) DeleteRoleUser ¶
func (Store) FetchEntity ¶
func (Store) FetchPermission ¶
func (s Store) FetchPermission(ctx context.Context, f user.FilterPermission) (user.Permission, error)
func (Store) FetchRoleUser ¶
func (Store) FetchWithPassword ¶
func (Store) InsertEntity ¶
func (Store) InsertPermission ¶
func (Store) InsertPermissions ¶
func (Store) InsertRoleUser ¶
func (Store) ListByEntity ¶
func (Store) ListByRole ¶
func (Store) ListClaims ¶
func (Store) ListEntity ¶
func (Store) ListPermission ¶
func (s Store) ListPermission(ctx context.Context, f user.FilterPermission) ([]user.Permission, error)
func (Store) ListRoleByUser ¶
func (Store) ListRoleUser ¶
func (Store) UpdateEntity ¶
func (s Store) UpdateEntity(ctx context.Context, f user.FilterEntity, p user.PatchEntity) ([]user.Entity, error)
Click to show internal directories.
Click to hide internal directories.