Documentation ¶
Index ¶
- type Badger
- func (db *Badger) Close()
- func (db *Badger) GetTask(ctx context.Context, req *tes.GetTaskRequest) (*tes.Task, error)
- func (db *Badger) Init() error
- func (db *Badger) ListTasks(ctx context.Context, req *tes.ListTasksRequest) (*tes.ListTasksResponse, error)
- func (db *Badger) WriteEvent(ctx context.Context, req *events.Event) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Badger ¶
type Badger struct {
// contains filtered or unexported fields
}
Badger provides a task database based on the Badger embedded database.
func (*Badger) ListTasks ¶
func (db *Badger) ListTasks(ctx context.Context, req *tes.ListTasksRequest) (*tes.ListTasksResponse, error)
ListTasks returns a list of tasks.
Click to show internal directories.
Click to hide internal directories.