Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
type Authorizer struct {
// contains filtered or unexported fields
}
func NewAuthorizer ¶
func (*Authorizer) Middleware ¶
func (s *Authorizer) Middleware(next http.Handler) http.Handler
type Secure ¶
func (*Secure) ServeHTTP ¶
func (s *Secure) ServeHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
type StatusCodeResponseWriter ¶
type StatusCodeResponseWriter struct { http.ResponseWriter // contains filtered or unexported fields }
func (*StatusCodeResponseWriter) Status ¶
func (s *StatusCodeResponseWriter) Status() int
func (*StatusCodeResponseWriter) WriteHeader ¶
func (s *StatusCodeResponseWriter) WriteHeader(code int)
Click to show internal directories.
Click to hide internal directories.