Documentation ¶ Index ¶ type PgCron func NewPgCron(cbPool *sql.DB) *PgCron func (s *PgCron) Pause(jobName string) error func (s *PgCron) Remove(jobName string) error func (s *PgCron) Schedule(jobName string, schedule string, command string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type PgCron ¶ type PgCron struct { DbPool *sql.DB `required:"true"` } func NewPgCron ¶ func NewPgCron(cbPool *sql.DB) *PgCron func (*PgCron) Pause ¶ func (s *PgCron) Pause(jobName string) error func (*PgCron) Remove ¶ func (s *PgCron) Remove(jobName string) error func (*PgCron) Schedule ¶ func (s *PgCron) Schedule(jobName string, schedule string, command string) error Source Files ¶ View all Source files PgCron.go Click to show internal directories. Click to hide internal directories.