Documentation ¶
Index ¶
- Constants
- Variables
- type Db
- func (db *Db) Delete(m *Info) error
- func (db *Db) GetAll() ([]*Info, error)
- func (db *Db) GetByEncname(encname string) (*Info, error)
- func (db *Db) GetById(sid string) (*Info, error)
- func (db *Db) GetByName(name string) (*Info, error)
- func (db *Db) GetPrefixName(prefix string) ([]*Info, error)
- func (db *Db) Insert(m *Info) error
- func (db *Db) Update(m *Info) error
- type Info
Constants ¶
View Source
const ( InfoTableName = "info" ConfigTableName = "config" )
Variables ¶
View Source
var NoResultError = errors.New("no results")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.