store

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 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 Session

type Session interface {
	store.Session

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

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

type Store

type Store interface {
	store.Store

	NewSession(logger log.Logger) (Session, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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