Documentation
¶
Overview ¶
Package server implements the HTTP server for Convos, including API endpoints and SPA frontend.
Index ¶
- func ContextMiddleware(next http.Handler) http.Handler
- func ProviderMiddleware(next http.Handler) http.Handler
- type Server
- func (s *Server) AuthMiddleware(next http.Handler) http.Handler
- func (s *Server) RateLimitMiddleware(next http.Handler) http.Handler
- func (s *Server) RequireAuthMiddleware(next http.Handler) http.Handler
- func (s *Server) ReverseProxyMiddleware(next http.Handler) http.Handler
- func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.