store

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2017 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	store.Store

	NewUsersSession() UsersSession
}

type UsersSession added in v1.20.0

type UsersSession interface {
	store.Session

	GetUserByID(ctx context.Context, userID string) (*user.User, error)
	DeleteUser(ctx context.Context, user *user.User) error
	DestroyUserByID(ctx context.Context, userID string) error

	PasswordMatches(user *user.User, password string) bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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