Help us shape the future of Go! Take the 2026 Go Developer Survey

reminders

package
v1.16.21 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 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")
	ErrReminderStorageNotSet    = errors.New("reminder storage is not configured")
)

TODO: @joshvanl: move errors package

Functions

This section is empty.

Types

type Interface added in v1.15.0

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 added in v1.15.0

func New(opts Options) Interface

type Options added in v1.15.0

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