Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NotFound = errors.New("Not Found")
)
Functions ¶
func AllDatabases ¶
func AllDatabases() []string
Types ¶
type DBInfo ¶
type User ¶
type User interface { ID() DBID Email() string PWHash() []byte SetPWHash([]byte) error AddJob(subject string, content []byte, sched schedule.MultiSchedule, next time.Time) (Job, error) Jobs() []Job JobByID(DBID) (Job, error) CountJobs() int Active() bool SetActive(bool) error ActivationCode() string SetActivationCode(string) error Location() *time.Location SetLocation(*time.Location) error Delete() error }
Click to show internal directories.
Click to hide internal directories.