Versions in this module Expand all Collapse all v0 v0.0.16 Feb 20, 2023 Changes in this version + func BasicAuthentication(allowed []string) func(next http.Handler) http.Handler + func ContentTypeJSON(next http.Handler) http.Handler + func DevCORS(next http.Handler) http.Handler + func NewStructuredLogger(logger *logrus.Logger) func(next http.Handler) http.Handler + func ServeFile(filename string) http.HandlerFunc + func SinglePageApplication(indexHTML, title, header string) http.HandlerFunc + type StructuredLogger struct + Logger *logrus.Logger + func (l *StructuredLogger) NewLogEntry(r *http.Request) middleware.LogEntry