appContext

package
v0.0.0-...-80a9f4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2017 License: GPL-3.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL