Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrExecutionNotFound = errors.New("execution not found")
)
Functions ¶
This section is empty.
Types ¶
type DdbTracker ¶
type DdbTracker struct {
// contains filtered or unexported fields
}
func (*DdbTracker) AddExecution ¶
func (*DdbTracker) GetExecution ¶
func (*DdbTracker) RemoveExecution ¶
func (t *DdbTracker) RemoveExecution(ctx context.Context, id string) error
type InMemoryTracker ¶
type InMemoryTracker struct {
// contains filtered or unexported fields
}
func (*InMemoryTracker) AddExecution ¶
func (*InMemoryTracker) GetExecution ¶
func (*InMemoryTracker) RemoveExecution ¶
func (t *InMemoryTracker) RemoveExecution(ctx context.Context, id string) error
type Tracker ¶
type Tracker interface { AddExecution(ctx context.Context, id string, user tempest.Snowflake) error RemoveExecution(ctx context.Context, id string) error GetExecution(ctx context.Context, id string) (tempest.Snowflake, error) }
func NewInMemoryTracker ¶
func NewInMemoryTracker() Tracker
Click to show internal directories.
Click to hide internal directories.