Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReminderCallback ¶
type ReminderCallback func(*grains.Invocation) (*grains.GrainExecution, error)
type ReminderConfig ¶
type ReminderConfig struct { ReminderStoreDSN string TickInterval time.Duration SiloClient pb.SiloServiceClient MetricsRegistry *metrics.MetricsRegistry RedisHostPort string SiloHostPort string }
func (*ReminderConfig) ReminderStore ¶
func (r *ReminderConfig) ReminderStore() (storage.ReminderStore, error)
type ReminderRegistry ¶
type ReminderRegistry struct {
// contains filtered or unexported fields
}
func NewReminderRegistry ¶
func NewReminderRegistry(ctx context.Context, config ReminderConfig) (*ReminderRegistry, error)
func (*ReminderRegistry) StartReminderProcess ¶
func (r *ReminderRegistry) StartReminderProcess()
func (*ReminderRegistry) Tick ¶
func (r *ReminderRegistry) Tick() error
Click to show internal directories.
Click to hide internal directories.