user

package
v0.0.0-...-301f747 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package user provides store interface for users.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	GetUser(id string) (*api.User, error)
	GetUserForLogin(email string) (*api.User, string, error)
	ListUsers() ([]*api.User, error)
	UpdateUser(user *api.User) error
	CreateUser(user *api.User, password string) error
}

Store handles user related operations in the datastore.

Jump to

Keyboard shortcuts

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