Documentation ¶ Index ¶ func CorsMiddleware(next http.Handler) http.Handler func NewBasicAuth(conf *config.Config) (func(*http.Request) bool, func(http.Handler) http.Handler) func Secure(h http.Handler) http.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CorsMiddleware ¶ func CorsMiddleware(next http.Handler) http.Handler func NewBasicAuth ¶ func NewBasicAuth(conf *config.Config) (func(*http.Request) bool, func(http.Handler) http.Handler) func Secure ¶ func Secure(h http.Handler) http.Handler Types ¶ This section is empty. Source Files ¶ View all Source files middleware.go Click to show internal directories. Click to hide internal directories.