inmemorytaskrepo

package
v0.0.0-...-0f8d847 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

func New

func New() DB

func (DB) GetTaskByID

func (db DB) GetTaskByID(taskID string) (taskentity.Task, error)

func (DB) GetTaskByIDWithContext

func (db DB) GetTaskByIDWithContext(ctx context.Context, taskID string) (taskentity.Task, error)

func (DB) UpsertTask

func (db DB) UpsertTask(taskID string, request param.UpsertTaskRequest) error

func (DB) UpsertTaskWithContext

func (db DB) UpsertTaskWithContext(ctx context.Context, taskID string, request param.UpsertTaskRequest) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL