Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IStorageQueue ¶
type IStorageQueue interface { Add(diff utils.StorageDiff) error Delete(id int) error GetAll() ([]utils.StorageDiff, error) }
type StorageQueue ¶
type StorageQueue struct {
// contains filtered or unexported fields
}
func NewStorageQueue ¶
func NewStorageQueue(db *postgres.DB) StorageQueue
func (StorageQueue) Add ¶
func (queue StorageQueue) Add(diff utils.StorageDiff) error
func (StorageQueue) Delete ¶ added in v0.0.2
func (queue StorageQueue) Delete(id int) error
func (StorageQueue) GetAll ¶ added in v0.0.2
func (queue StorageQueue) GetAll() ([]utils.StorageDiff, error)
Click to show internal directories.
Click to hide internal directories.