remindercreate

package
v0.0.0-...-5554e34 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

func IsMailDelivery

func IsMailDelivery(err error) bool

func IsTimeout

func IsTimeout(err error) bool

Types

type User

type User struct {
	// contains filtered or unexported fields
}

func NewUser

func NewUser(c UserConfig) (*User, error)

func (*User) Ensure

func (u *User) Ensure(tsk *task.Task) error

func (*User) Filter

func (u *User) Filter(tsk *task.Task) bool

type UserConfig

type UserConfig struct {
	Logger logger.Interface
	Redigo redigo.Interface
	Rescue rescue.Interface

	PostmarkTokenAccount string
	PostmarkTokenServer  string
	Timeout              time.Duration
}

type Weekly

type Weekly struct {
	// contains filtered or unexported fields
}

func NewWeekly

func NewWeekly(c WeeklyConfig) (*Weekly, error)

func (*Weekly) Ensure

func (w *Weekly) Ensure(tsk *task.Task) error

func (*Weekly) Filter

func (w *Weekly) Filter(tsk *task.Task) bool

type WeeklyConfig

type WeeklyConfig struct {
	Logger logger.Interface
	Redigo redigo.Interface
	Rescue rescue.Interface

	Timeout time.Duration
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL