Documentation
¶
Index ¶
Constants ¶
View Source
const ( TimestampMode = core.TimestampMode CronMode = core.TimestampMode )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
Schedule(ctx context.Context, e Event) (ID, error)
Unschedule(ctx context.Context, id ID) error
OnEvent(ctx context.Context, topic string, cb func(Event), cbErr func(error)) (func(), error)
ListenToEvent(ctx context.Context, topic string, cb func(Event)) error
Close() error
}
Click to show internal directories.
Click to hide internal directories.