Documentation
¶
Index ¶
- type DB
- func (db *DB) GetFilter(ctx context.Context, id string) (*sync.Filter, error)
- func (db *DB) GetLabel(ctx context.Context, name string) (*model.Label, error)
- func (db *DB) GetProject(ctx context.Context, id string) (*sync.Project, error)
- func (db *DB) GetSection(ctx context.Context, id string) (*model.Section, error)
- func (db *DB) GetTask(ctx context.Context, id string) (*model.Task, error)
- func (db *DB) GetUser(ctx context.Context) (*sync.User, error)
- func (db *DB) HandleResponse(ctx context.Context, resp any) error
- func (db *DB) ListFilters(ctx context.Context) ([]*sync.Filter, error)
- func (db *DB) ListLabels(ctx context.Context) ([]*model.Label, error)
- func (db *DB) ListProjects(ctx context.Context, args *model.ProjectListArgs) ([]*sync.Project, error)
- func (db *DB) ListSections(ctx context.Context, args *model.SectionListArgs) ([]*model.Section, error)
- func (db *DB) ListTasks(ctx context.Context, args *model.TaskListArgs) ([]*model.Task, error)
- func (db *DB) Migrate() error
- func (db *DB) ResourceTypes(ctx context.Context) (*sync.ResourceTypes, error)
- func (db *DB) SyncToken(ctx context.Context) (*string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
func (*DB) GetProject ¶
func (*DB) GetSection ¶
func (*DB) ListProjects ¶
func (*DB) ListSections ¶
func (*DB) ResourceTypes ¶
Click to show internal directories.
Click to hide internal directories.