Versions in this module Expand all Collapse all v1 v1.1.0 Jul 24, 2021 Changes in this version + func AddCronJob(spec string, cmd func()) + func Registry() registry.Registry + func WithCron(cron *cron.Cron) app.Option + func WithCronEnable() app.Option v1.0.0 May 10, 2021 Changes in this version + func Cache() cache.Cache + func Config() *config.Config + func DB() *gorm.DB + func InQueue(name string, data interface{}) error + func InQueueWithRetry(name string, data interface{}, tries int) error + func Logger() *logrus.Logger + func NewApp(opts ...app.Option) *app.App + func NewJob(name string, data interface{}, tries int) (*queue.Job, error) + func Queue() queue.Queuer + func Redis() *redis.Client + func RedisCluster() *redis.ClusterClient + func WithAddr(addr string) app.Option + func WithCfgAddr(cfgAddr string) app.Option + func WithCfgPath(cfgPath string) app.Option + func WithHideBanner() app.Option + func WithName(name string) app.Option + func WithRunMode(mode string) app.Option