Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PgReminder ¶
type PgReminder struct { Name string `gorm:"primaryKey"` GrainId string `gorm:"primaryKey"` GrainType string `gorm:"primaryKey"` Data []byte Period int64 FireAt int64 Method string }
func (PgReminder) TableName ¶
func (p PgReminder) TableName() string
type PostgresqlReminderStore ¶
type PostgresqlReminderStore struct { ReminderStore // contains filtered or unexported fields }
func NewPostgresqlReminderStore ¶
func NewPostgresqlReminderStore(dsn string) (*PostgresqlReminderStore, error)
func (*PostgresqlReminderStore) GetReminders ¶
func (s *PostgresqlReminderStore) GetReminders() ([]*data.Reminder, error)
func (*PostgresqlReminderStore) StoreReminder ¶
func (s *PostgresqlReminderStore) StoreReminder(reminder *data.Reminder) error
Click to show internal directories.
Click to hide internal directories.