stores

package
v0.0.0-...-cca05c4 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func NewStore

func NewStore(config map[string]interface{}) *Store

func (Store) Close

func (ss Store) Close()

func (Store) GetAllConns

func (ss Store) GetAllConns() []*gorp.DbMap

func (Store) GetMaster

func (ss Store) GetMaster() *gorp.DbMap

func (Store) GetReplica

func (ss Store) GetReplica() *gorp.DbMap

type StoreBase

type StoreBase struct {
	Id string `json:"id"`
}

func (*StoreBase) Create

func (s *StoreBase) Create()

func (*StoreBase) Save

func (s *StoreBase) Save()

type User

type User struct {
	*StoreBase
}

Jump to

Keyboard shortcuts

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