Documentation ¶ Index ¶ Variables func CORSMiddleware(next http.Handler) http.Handler func CombineMiddlewares(middlewares []func(http.Handler) http.Handler) func(http.Handler) http.Handler func LoggingMiddleware(next http.Handler) http.Handler Constants ¶ This section is empty. Variables ¶ View Source var CSRFMiddleware = csrf.Protect( []byte(config.Get().AuthCSRFProtectionSecretKey), csrf.Secure(config.Get().AuthCSRFSecureCookie), csrf.TrustedOrigins([]string{config.Get().AppHost}), ) Functions ¶ func CORSMiddleware ¶ func CORSMiddleware(next http.Handler) http.Handler func CombineMiddlewares ¶ func CombineMiddlewares(middlewares []func(http.Handler) http.Handler) func(http.Handler) http.Handler func LoggingMiddleware ¶ func LoggingMiddleware(next http.Handler) http.Handler Types ¶ This section is empty. Source Files ¶ View all Source files combine.gocors.gocsrf.gologging.go Click to show internal directories. Click to hide internal directories.