store

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2018 License: BSD-2-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 {
	NewUsersSession() UsersSession
}

type UsersSession added in v1.20.0

type UsersSession interface {
	io.Closer

	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