gobstore

package
v0.0.0-...-b904e47 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2013 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserGobStore

type UserGobStore struct {
	Path string
}

The UserGobStore implements the UserStore interface to store Users on disk encoded in the gob format.

func NewUserGobStore

func NewUserGobStore(path string) *UserGobStore

func (UserGobStore) FindByEmail

func (store UserGobStore) FindByEmail(email string) (*user.User, error)

func (UserGobStore) FindByHash

func (store UserGobStore) FindByHash(emailHash string) (*user.User, error)

func (UserGobStore) Save

func (store UserGobStore) Save(user user.User) error

Jump to

Keyboard shortcuts

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