Documentation ¶
Index ¶
- func CookieSameSiteMode() http.SameSite
- func CookieSecure() bool
- func IsClientError(code int) bool
- func Middleware(next http.Handler) http.Handler
- func NewConnectHandler(health *controller.Health, user *controller.User, article *controller.Article, ...) http.Handler
- func NewInterceptor() connect.UnaryInterceptorFunc
- func NewLoggingResponseWriter(w http.ResponseWriter) *loggingResponseWriter
- type HTTPServer
- type Route
- type Router
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CookieSameSiteMode ¶
func CookieSecure ¶
func CookieSecure() bool
func IsClientError ¶
func NewConnectHandler ¶
func NewConnectHandler( health *controller.Health, user *controller.User, article *controller.Article, version *controller.Version, ) http.Handler
func NewInterceptor ¶
func NewInterceptor() connect.UnaryInterceptorFunc
func NewLoggingResponseWriter ¶
func NewLoggingResponseWriter(w http.ResponseWriter) *loggingResponseWriter
Types ¶
type HTTPServer ¶
func NewHTTPServer ¶
func NewHTTPServer( handler http.Handler, ) *HTTPServer
func (*HTTPServer) Run ¶
func (s *HTTPServer) Run()
Click to show internal directories.
Click to hide internal directories.