Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connect ¶
type Connect interface { SaveTasks(...*tasks.Task) error Close() error MustClose() String() string GetTask(string) (*tasks.Task, error) Saver() chan<- *tasks.Task SaverLoop(time.Duration, int, logiface.Logger) Foreach(ForeachFunc) (int, error) }
Connect interface represents a database connection with al the necessary methods
type ForeachFunc ¶
ForeachFunc is a type of func to be passed to Foreach method
Click to show internal directories.
Click to hide internal directories.