mirror of
https://github.com/labstack/echo.git
synced 2025-07-13 01:30:31 +02:00
Object method to get real object
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
@ -15,16 +15,17 @@ type (
|
||||
}
|
||||
|
||||
Request interface {
|
||||
URI() string
|
||||
URL() URL
|
||||
Header() Header
|
||||
// Proto() string
|
||||
// ProtoMajor() int
|
||||
// ProtoMinor() int
|
||||
RemoteAddress() string
|
||||
Method() string
|
||||
URI() string
|
||||
URL() URL
|
||||
Body() io.ReadCloser
|
||||
FormValue(string) string
|
||||
Object() interface{}
|
||||
}
|
||||
|
||||
Response interface {
|
||||
@ -36,6 +37,7 @@ type (
|
||||
Committed() bool
|
||||
SetWriter(io.Writer)
|
||||
Writer() io.Writer
|
||||
Object() interface{}
|
||||
}
|
||||
|
||||
Header interface {
|
||||
|
Reference in New Issue
Block a user