SYMBOL INDEX (42 symbols across 14 files) FILE: api/api.go type API (line 8) | type API struct function NewAPI (line 14) | func NewAPI(db *models.DB) *API { FILE: api/quotes.go method Quote (line 6) | func (api *API) Quote(w http.ResponseWriter, req *http.Request) { method SecretQuote (line 12) | func (api *API) SecretQuote(w http.ResponseWriter, req *http.Request) { FILE: api/users.go type UserJSON (line 12) | type UserJSON struct method UserSignup (line 18) | func (api *API) UserSignup(w http.ResponseWriter, req *http.Request) { method UserLogin (line 43) | func (api *API) UserLogin(w http.ResponseWriter, req *http.Request) { method GetUserFromContext (line 73) | func (api *API) GetUserFromContext(req *http.Request) *models.User { method UserInfo (line 80) | func (api *API) UserInfo(w http.ResponseWriter, req *http.Request) { FILE: auth/auth.go function GetToken (line 26) | func GetToken(user *models.User) string { function GetJSONToken (line 36) | func GetJSONToken(user *models.User) string { function GetUserClaimsFromContext (line 43) | func GetUserClaimsFromContext(req *http.Request) map[string]interface{} { FILE: client/build/check-versions.js function exec (line 5) | function exec (cmd) { FILE: client/build/utils.js function generateLoaders (line 24) | function generateLoaders (loader, loaderOptions) { FILE: client/build/webpack.base.conf.js function resolve (line 6) | function resolve (dir) { FILE: client/src/auth/index.js constant API_URL (line 1) | const API_URL = '/api/user/' constant LOGIN_URL (line 2) | const LOGIN_URL = API_URL + 'login' constant SIGNUP_URL (line 3) | const SIGNUP_URL = API_URL + 'signup' method login (line 7) | login (context, creds, redirect) { method signup (line 18) | signup (context, creds, redirect) { method logout (line 29) | logout (context) { method isAuthenticated (line 34) | isAuthenticated () { method getAuthHeader (line 42) | getAuthHeader () { FILE: client/src/main.js function requireAuth (line 21) | function requireAuth (to, from, next) { FILE: models/db.go type DB (line 12) | type DB struct function NewPostgresDB (line 17) | func NewPostgresDB(dataSourceName string) *DB { function NewSqliteDB (line 34) | func NewSqliteDB(databaseName string) *DB { FILE: models/quotes.go type Quote (line 14) | type Quote struct type QuoteManager (line 20) | type QuoteManager struct method RandomQuote (line 37) | func (qm *QuoteManager) RandomQuote() *Quote { function NewQuoteManager (line 25) | func NewQuoteManager(db *DB) (*QuoteManager, error) { FILE: models/users.go type User (line 14) | type User struct type UserManager (line 22) | type UserManager struct method HasUser (line 39) | func (state *UserManager) HasUser(username string) bool { method FindUser (line 47) | func (state *UserManager) FindUser(username string) *User { method FindUserByUUID (line 54) | func (state *UserManager) FindUserByUUID(uuid string) *User { method AddUser (line 61) | func (state *UserManager) AddUser(username, password string) *User { method HashPassword (line 74) | func (state *UserManager) HashPassword(username, password string) stri... method CheckPassword (line 83) | func (state *UserManager) CheckPassword(hashedPassword, password strin... function NewUserManager (line 27) | func NewUserManager(db *DB) (*UserManager, error) { FILE: routes/routes.go function NewRoutes (line 13) | func NewRoutes(api *api.API) *mux.Router { FILE: server.go function main (line 10) | func main() {