data

package
v0.0.0-...-3667573 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: GPL-3.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrUserAlreadyExists ...
	ErrUserAlreadyExists = errors.New("User already exists")
	// ErrUserNotFound ...
	ErrUserNotFound = errors.New("User not found")
)

Functions

This section is empty.

Types

type Datastore

type Datastore interface {
	UserStore
}

Datastore ...

type UserStore

type UserStore interface {
	AddUser(*model.User) error
	GetUser(string) (*model.User, error)
}

UserStore ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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