Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CrossDomainMiddleware ¶
type CrossDomainMiddleware struct { }
func NewCrossDomainMiddleware ¶
func NewCrossDomainMiddleware() *CrossDomainMiddleware
func (*CrossDomainMiddleware) Middleware ¶
func (cd *CrossDomainMiddleware) Middleware(next http.Handler) http.Handler
type HttpAuthMiddleware ¶
type HttpAuthMiddleware struct {
// contains filtered or unexported fields
}
func NewHttpAuthMiddleware ¶
func NewHttpAuthMiddleware(user, pwd string) *HttpAuthMiddleware
func (*HttpAuthMiddleware) Middleware ¶
func (auth *HttpAuthMiddleware) Middleware(next http.Handler) http.Handler
type HttpAuthWarper ¶
type HttpAuthWarper struct {
// contains filtered or unexported fields
}
type HttpGzipWraper ¶
type HttpGzipWraper struct {
// contains filtered or unexported fields
}
func (*HttpGzipWraper) ServeHTTP ¶
func (gw *HttpGzipWraper) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.