Documentation ¶
Index ¶
Constants ¶
View Source
const ( //Second has 1 * 1e9 nanoseconds Second time.Duration = time.Second //Minute has 60 seconds Minute time.Duration = time.Minute //Hour has 60 minutes Hour time.Duration = time.Hour //Day has 24 hours Day time.Duration = time.Hour * 24 //Week has 7 days Week time.Duration = Day * 7 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct {
// contains filtered or unexported fields
}
func (*Configuration) Custom ¶
func (c *Configuration) Custom() interface{}
func (*Configuration) Mongo ¶
func (c *Configuration) Mongo() *mongo.MgoClient
func (*Configuration) Redis ¶
func (c *Configuration) Redis() *redis.RdClient
func (*Configuration) Repo ¶
func (c *Configuration) Repo() *repo.Repository
type Job ¶
type Job func(*Configuration)
Click to show internal directories.
Click to hide internal directories.