Documentation ¶
Index ¶
- func WrapHandler(h http.Handler) echo.HandlerFunc
- func WrapMiddleware(m func(http.Handler) http.Handler) echo.MiddlewareFunc
- type Header
- type Pool
- type Request
- func (r *Request) Body() io.ReadCloser
- func (r *Request) FormValue(name string) string
- func (r *Request) Header() engine.Header
- func (r *Request) Host() string
- func (r *Request) Method() string
- func (r *Request) RemoteAddress() string
- func (r *Request) Scheme() string
- func (r *Request) TLS() bool
- func (r *Request) URI() string
- func (r *Request) URL() engine.URL
- type Response
- func (r *Response) Committed() bool
- func (r *Response) Header() engine.Header
- func (r *Response) SetWriter(w io.Writer)
- func (r *Response) Size() int64
- func (r *Response) Status() int
- func (r *Response) Write(b []byte) (n int, err error)
- func (r *Response) WriteHeader(code int)
- func (r *Response) Writer() io.Writer
- type Server
- type URL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapHandler ¶
func WrapHandler(h http.Handler) echo.HandlerFunc
WrapHandler wraps `http.Handler` into `echo.HandlerFunc`.
func WrapMiddleware ¶
WrapMiddleware wraps `func(http.Handler) http.Handler` into `echo.MiddlewareFunc`
Types ¶
type Request ¶
func NewRequest ¶
func (*Request) Body ¶
func (r *Request) Body() io.ReadCloser
func (*Request) RemoteAddress ¶
type Response ¶
type Response struct { http.ResponseWriter // contains filtered or unexported fields }
func NewResponse ¶
func NewResponse(w http.ResponseWriter, l *log.Logger) *Response
func (*Response) WriteHeader ¶
Click to show internal directories.
Click to hide internal directories.