package engine
import "github.com/labstack/echo/engine"
Index ¶
Types ¶
type Config ¶
type Config struct { Address string TLSCertfile string TLSKeyfile string ReadTimeout time.Duration WriteTimeout time.Duration }
type Engine ¶
type Engine interface { SetHandler(HandlerFunc) SetLogger(logger.Logger) Start() }
type HandlerFunc ¶
type Header ¶
type Header interface { Add(string, string) Del(string) Get(string) string Set(string, string) Object() interface{} }
type Request ¶
type Request interface { TLS() bool Scheme() string Host() string URI() string URL() URL Header() Header // Proto() string // ProtoMajor() int // ProtoMinor() int RemoteAddress() string Method() string Body() io.ReadCloser FormValue(string) string Object() interface{} }
type Response ¶
type Response interface { Header() Header WriteHeader(int) Write(b []byte) (int, error) Status() int Size() int64 Committed() bool SetWriter(io.Writer) Writer() io.Writer Object() interface{} }
type URL ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
engine/fasthttp | |
engine/standard |
- Version
- v2.0.0-apha.2+incompatible
- Published
- Mar 5, 2016
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 4 hours ago –
Tools for package owners.