Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ENV string AppSecret string // SentryURL config SentryURL string )
View Source
var ( // MongoURL config uri MongoURL string // MongoName db name MongoName string ShouldSeed = flag.Bool("should-seed", false, "determines whether we seed the initial categories and admin user to bootstrap the site") )
View Source
var (
// The default value is a legacy bucket used in spartangeek.
AwsS3Bucket = "spartan-board"
)
View Source
var (
RedisURL string = "redis://127.0.0.1:6379"
)
Functions ¶
Types ¶
type Deps ¶
type Deps struct { GamingConfigProvider *model.GamingRules DatabaseSessionProvider *mgo.Session DatabaseProvider *mgo.Database LoggerProvider *logging.Logger CacheProvider *redis.Client S3Provider *s3.Bucket LedisProvider *ledis.DB }
var (
Container Deps
)
Contains bootstraped dependencies.
func IgniteCache ¶
func IgniteConfig ¶
func IgniteLedisDB ¶
func IgniteLogger ¶
func IgniteMongoDB ¶
func (Deps) GamingConfig ¶
func (d Deps) GamingConfig() *model.GamingRules
func (Deps) MgoSession ¶
func (d Deps) MgoSession() *mgo.Session
Source Files ¶
Click to show internal directories.
Click to hide internal directories.