Documentation
¶
Overview ¶
Package for_sqlite provides a sqlite implementation of interfaces in huedb package.
Index ¶
- type Store
- func (s Store) AddEncodedAtTimeTask(t db.Transaction, task *huedb.EncodedAtTimeTask) error
- func (s Store) AddNamedColors(t db.Transaction, namedColors *ops.NamedColors) error
- func (s Store) ClearEncodedAtTimeTasks(t db.Transaction) error
- func (s Store) EncodedAtTimeTasks(t db.Transaction, groupId string, consumer goconsume.Consumer) error
- func (s Store) NamedColors(t db.Transaction, consumer goconsume.Consumer) error
- func (s Store) NamedColorsById(t db.Transaction, id int64, namedColors *ops.NamedColors) error
- func (s Store) RemoveEncodedAtTimeTaskByScheduleId(t db.Transaction, groupId, scheduleId string) error
- func (s Store) RemoveNamedColors(t db.Transaction, id int64) error
- func (s Store) UpdateNamedColors(t db.Transaction, namedColors *ops.NamedColors) error
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 (Store) AddEncodedAtTimeTask ¶
func (s Store) AddEncodedAtTimeTask( t db.Transaction, task *huedb.EncodedAtTimeTask) error
func (Store) AddNamedColors ¶
func (s Store) AddNamedColors( t db.Transaction, namedColors *ops.NamedColors) error
func (Store) ClearEncodedAtTimeTasks ¶
func (s Store) ClearEncodedAtTimeTasks(t db.Transaction) error
func (Store) EncodedAtTimeTasks ¶
func (Store) NamedColors ¶
func (Store) NamedColorsById ¶
func (s Store) NamedColorsById( t db.Transaction, id int64, namedColors *ops.NamedColors) error
func (Store) RemoveEncodedAtTimeTaskByScheduleId ¶
func (s Store) RemoveEncodedAtTimeTaskByScheduleId( t db.Transaction, groupId, scheduleId string) error
func (Store) RemoveNamedColors ¶
func (s Store) RemoveNamedColors(t db.Transaction, id int64) error
func (Store) UpdateNamedColors ¶
func (s Store) UpdateNamedColors( t db.Transaction, namedColors *ops.NamedColors) error
Click to show internal directories.
Click to hide internal directories.