Documentation ¶
Index ¶
- Constants
- func NewDB(configfile string) (*db, error)
- func NewDBReadOnly(configfile string) (*db, error)
- type CartListEntry
- type CutListEntry
- type DB
- func (d *DB) CheckMusicGroup(groupname string) (bool, error)
- func (d *DB) CheckPassword(username, password string) (bool, error)
- func (d *DB) GetGroupOfCart(cart uint) (string, error)
- func (d *DB) GetJingleCutList(jingle JingleListEntry) (CartListEntry, error)
- func (d *DB) GetJingleList(username string) (JingleList, error)
- func (d *DB) GetMusicInfo(groupname string) (int, int, error)
- func (d *DB) GetPassword(username string, cached bool) (string, error)
- func (d *DB) GetPoolCartList(pool PoolListEntry) (map[uint]CartListEntry, error)
- func (d *DB) GetPoolList(username string) (PoolList, error)
- func (d *DB) GetShowCartList(show ShowListEntry) ([]CartListEntry, error)
- func (d *DB) GetShowInfo(showid uint) (string, int, int, []uint, error)
- func (d *DB) GetShowList(username string) (ShowList, error)
- func (d *DB) UpdateCartUserDefined(cart uint, value string) error
- func (d *DB) UpdateCutCartTitle(cart, cut uint, groupName, sourceFile string) error
- type JingleList
- type JingleListEntry
- type NullTime
- type PoolList
- type PoolListEntry
- type ShowList
- type ShowListEntry
- type ShowType
- type Weekday
Constants ¶
View Source
const (
DB_VERSION = 250
)
Variables ¶
This section is empty.
Functions ¶
func NewDBReadOnly ¶
Types ¶
type CartListEntry ¶
type CutListEntry ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetJingleCutList ¶
func (d *DB) GetJingleCutList(jingle JingleListEntry) (CartListEntry, error)
func (*DB) GetJingleList ¶
func (d *DB) GetJingleList(username string) (JingleList, error)
func (*DB) GetPoolCartList ¶
func (d *DB) GetPoolCartList(pool PoolListEntry) (map[uint]CartListEntry, error)
func (*DB) GetShowCartList ¶
func (d *DB) GetShowCartList(show ShowListEntry) ([]CartListEntry, error)
func (*DB) UpdateCartUserDefined ¶
type JingleList ¶
type JingleList []JingleListEntry
func (JingleList) Len ¶
func (jl JingleList) Len() int
func (JingleList) Less ¶
func (jl JingleList) Less(i, j int) bool
func (JingleList) Swap ¶
func (jl JingleList) Swap(i, j int)
type JingleListEntry ¶
type NullTime ¶
This NullTime implementation is not driver-specific
type PoolList ¶
type PoolList []PoolListEntry
type PoolListEntry ¶
type ShowList ¶
type ShowList []ShowListEntry
type ShowListEntry ¶
Click to show internal directories.
Click to hide internal directories.