Documentation ¶
Index ¶
- func Commit(tx *sql.Tx) error
- type DBError
- type MongoDB
- func (this MongoDB) AddRow(args ...map[string]string) error
- func (this MongoDB) DeleteRow(id ...string) error
- func (this MongoDB) FindRow(id string, needArgs ...string) (string, error)
- func (this MongoDB) GetJustDone(id string) (string, string, error)
- func (this MongoDB) GetList(action string, pass string) (string, error)
- func (this MongoDB) IsInBlackList(name, sig string) bool
- func (this MongoDB) ModifyRow(args ...map[string]string) error
- func (this MongoDB) Revocate(name, sig string) error
- type Mysql
- func (this Mysql) AddRow(args ...map[string]string) error
- func (this Mysql) CreateTable(str string) error
- func (this Mysql) DeleteRow(id ...string) error
- func (this Mysql) FindRow(id string, needArgs ...string) (string, error)
- func (this Mysql) GetJustDone(id string) (string, string, error)
- func (this Mysql) GetList(action string, pass string) (string, error)
- func (this Mysql) IsInBlackList(name, sig string) bool
- func (this Mysql) ModifyRow(args ...map[string]string) error
- func (this Mysql) Revocate(name, sig string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MongoDB ¶
type MongoDB struct { Db *mgo.Collection BL *mgo.Collection Activity *core.Activity // contains filtered or unexported fields }
func NewMongoDB ¶
func (MongoDB) IsInBlackList ¶
Click to show internal directories.
Click to hide internal directories.