managers

package
v0.0.0-...-6fa73da Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRecordExists = errors.New("storage: record exists")
)

Functions

This section is empty.

Types

type Managers

type Managers interface {
	PhoneNumbers() PhoneNumberManager
}

type PhoneNumberManager

type PhoneNumberManager interface {
	GetBySendDeadline(*time.Time) ([]models.PhoneNumber, error)
	UpdateSent(*models.PhoneNumber, *time.Time) error
	UpdateSkipped(*models.PhoneNumber, *time.Time) error
	UpdateNotSendable(*models.PhoneNumber) error
	UpdateSendable(*models.PhoneNumber) error
	Create(models.PhoneNumber) error
	Get(string) (models.PhoneNumber, error)
}

Jump to

Keyboard shortcuts

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