mem

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemStore

type MemStore struct {
	// contains filtered or unexported fields
}

func NewMemStore

func NewMemStore() *MemStore

func (*MemStore) Close

func (s *MemStore) Close() error

func (*MemStore) DeleteAccount

func (s *MemStore) DeleteAccount(uuid string) (int, error)

func (*MemStore) LoadAccount

func (s *MemStore) LoadAccount(uuid string) (*account.Account, error)

func (*MemStore) LoadAllAccounts

func (s *MemStore) LoadAllAccounts() ([]*account.Account, error)

func (*MemStore) SaveAccount

func (s *MemStore) SaveAccount(account *account.Account) (*account.Account, error)

func (*MemStore) Status

func (s *MemStore) Status() (int, string)

Jump to

Keyboard shortcuts

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