Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultReadBufferSize = 4096
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DummyWriter ¶ added in v0.19.0
type DummyWriter struct {
// contains filtered or unexported fields
}
func (*DummyWriter) Error ¶ added in v0.19.2
func (dw *DummyWriter) Error() error
func (*DummyWriter) Header ¶ added in v0.19.0
func (dw *DummyWriter) Header() http.Header
func (*DummyWriter) Status ¶ added in v0.19.0
func (dw *DummyWriter) Status() int
func (*DummyWriter) TryServeHTTP ¶ added in v0.19.0
func (dw *DummyWriter) TryServeHTTP(w http.ResponseWriter, r *http.Request) error
func (*DummyWriter) WriteHeader ¶ added in v0.19.0
func (dw *DummyWriter) WriteHeader(code int)
type Interceptor ¶
type Interceptor struct {
// contains filtered or unexported fields
}
func (*Interceptor) TryServeHTTP ¶
func (m *Interceptor) TryServeHTTP(w http.ResponseWriter, r *http.Request) error
type WriteInterceptor ¶
type WriteInterceptor struct {
// contains filtered or unexported fields
}
func NewWriter ¶
func NewWriter(w http.ResponseWriter, method string) *WriteInterceptor
func (*WriteInterceptor) Error ¶
func (m *WriteInterceptor) Error() web.Error
func (*WriteInterceptor) Writer ¶
func (m *WriteInterceptor) Writer() http.ResponseWriter
Click to show internal directories.
Click to hide internal directories.