Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppContext ¶
type AppContext struct { Store *sessions.CookieStore Redis *redis.Pool Q *work.Enqueuer DB *mgo.Session SDE *sql.DB HTTP *http.Client API *goesi.APIClient SSO *goesi.SSOAuthenticator }
AppContext is a struct that stores application handles
func NewAppContext ¶
func NewAppContext(appConfig *appConfig.AppConfig) (AppContext, error)
NewAppContext creates a new ApContext struct
Click to show internal directories.
Click to hide internal directories.