Versions in this module Expand all Collapse all v0 v0.0.1 Jul 4, 2020 Changes in this version + func SetContext(req *http.Request, gastonContext *GastonContext) *http.Request + type GastonContext struct + Headers map[string][]string + Roles []string + func GetContext(req *http.Request) *GastonContext + type GastonContextKey struct + type JWTAuthorizationConfig struct + Header string + HmacSecret string + RemoteRolesHeader string + RemoteUserHeader string + RolesClaim string + Scheme string + UserClaim string + type Middleware func(next http.Handler) http.Handler + func NewJWTAuthorizationMiddleware(config JWTAuthorizationConfig) Middleware + type Server struct + Remote remote.Remote + func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (s *Server) Use(m Middleware)