Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthMiddleware ¶
type AuthMiddleware struct { Logger *slog.Logger SessionStore *store.SessionStore }
func (*AuthMiddleware) Middleware ¶
func (m *AuthMiddleware) Middleware(next http.Handler) http.Handler
type CacheControlMiddleware ¶
type CacheControlMiddleware struct {
Version string
}
func (*CacheControlMiddleware) Middleware ¶
func (m *CacheControlMiddleware) Middleware(next http.Handler) http.Handler
type LoggingMiddleware ¶
func (*LoggingMiddleware) Middleware ¶
func (m *LoggingMiddleware) Middleware(next http.Handler) http.Handler
Click to show internal directories.
Click to hide internal directories.