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) }
Click to show internal directories.
Click to hide internal directories.