reminders

package
v1.15.0-rc.7 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrReminderOpActorNotHosted = errors.New("operations on actor reminders are only possible on hosted actor types")

TODO: @joshvanl: move errors package

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// Get retrieves an actor reminder.
	Get(ctx context.Context, req *api.GetReminderRequest) (*api.Reminder, error)

	// Create creates an actor reminder.
	Create(ctx context.Context, req *api.CreateReminderRequest) error

	// Delete deletes an actor reminder.
	Delete(ctx context.Context, req *api.DeleteReminderRequest) error
}

func New

func New(opts Options) Interface

type Options

type Options struct {
	Storage storage.Interface
	Table   table.Interface
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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