mirror of
https://github.com/labstack/echo.git
synced 2025-07-17 01:43:02 +02:00
Engine#Multipart,#FormFile. Closes #394.
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
@ -2,6 +2,7 @@ package engine
|
||||
|
||||
import (
|
||||
"io"
|
||||
"mime/multipart"
|
||||
"time"
|
||||
|
||||
"github.com/labstack/gommon/log"
|
||||
@ -30,6 +31,8 @@ type (
|
||||
Method() string
|
||||
Body() io.ReadCloser
|
||||
FormValue(string) string
|
||||
FormFile(string) (*multipart.FileHeader, error)
|
||||
MultipartForm() (*multipart.Form, error)
|
||||
}
|
||||
|
||||
// Response defines an interface for HTTP response.
|
||||
|
Reference in New Issue
Block a user