Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultStore ¶
type DefaultStore struct { //To sync the related operations. *sync.RWMutex // contains filtered or unexported fields }
DefaultStore is the default implemetation of Store interface.
func NewDefaultStore ¶
func NewDefaultStore() *DefaultStore
NewDefaultStore is constructor method for DefaultStore.
func (*DefaultStore) AddTasks ¶
func (ds *DefaultStore) AddTasks(tasks ...Task)
AddTasks implements the same method in Store interface.
func (*DefaultStore) GetTasks ¶
func (ds *DefaultStore) GetTasks() []Task
GetTasks implements the same method in Store interface.
type ScanAllTask ¶
type ScanAllTask struct{}
ScanAllTask is task of scanning all tags.
func NewScanAllTask ¶
func NewScanAllTask() *ScanAllTask
NewScanAllTask is constructor of creating ScanAllTask.
Click to show internal directories.
Click to hide internal directories.