store

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DISCONNECTED = iota
	CONNECTED
)

Variables

View Source
var (
	StatusStr = []string{"Disconnected", "Connected"}
)

Functions

This section is empty.

Types

type Storer

type Storer interface {
	Status() (int, string)
	Close() error
	LoadAllAccounts() ([]*account.Account, error)
	LoadAccount(uuid string) (*account.Account, error)
	SaveAccount(account *account.Account) (*account.Account, error)
	DeleteAccount(uuid string) (int, error)
	GetAccountByEmail(email string) (*account.Account, error)
}

Directories

Path Synopsis
backend
mem

Jump to

Keyboard shortcuts

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