Versions in this module Expand all Collapse all v0 v0.1.12 Apr 16, 2019 v0.1.11 May 22, 2018 Changes in this version + type MemoryStorage struct + func NewMemoryStorage() *MemoryStorage + func (memStore *MemoryStorage) Add(task TaskAttributes) error + func (memStore *MemoryStorage) Fetch() ([]TaskAttributes, error) + func (memStore *MemoryStorage) Remove(task TaskAttributes) error + type NoOpStorage struct + func NewNoOpStorage() NoOpStorage + func (noop NoOpStorage) Add(task TaskAttributes) error + func (noop NoOpStorage) Fetch() ([]TaskAttributes, error) + func (noop NoOpStorage) Remove(task TaskAttributes) error + type Sqlite3Config struct + DbName string + type Sqlite3Storage struct + func NewSqlite3Storage(config Sqlite3Config) Sqlite3Storage + func (sqlite *Sqlite3Storage) Close() error + func (sqlite *Sqlite3Storage) Connect() error + func (sqlite *Sqlite3Storage) Initialize() error + func (sqlite Sqlite3Storage) Add(task TaskAttributes) error + func (sqlite Sqlite3Storage) Fetch() ([]TaskAttributes, error) + func (sqlite Sqlite3Storage) Remove(task TaskAttributes) error + type TaskAttributes struct + Duration string + Hash string + IsRecurring string + LastRun string + Name string + NextRun string + Params string + type TaskStore interface + Add func(TaskAttributes) error + Fetch func() ([]TaskAttributes, error) + Remove func(TaskAttributes) error