Documentation ¶
Index ¶
- func ApiHandler(apiInfo *web.ApiInfo, funcType reflect.Method, funcValue reflect.Value)
- func PathVariableParser(url string) string
- func StaticHandler(url, dir string)
- type Container
- type EchoMapperAdapter
- func (e *EchoMapperAdapter) Get(param web.Param) interface{}
- func (e *EchoMapperAdapter) GetBoolFromForm(param web.Param) bool
- func (e *EchoMapperAdapter) GetBoolFromPath(param web.Param) bool
- func (e *EchoMapperAdapter) GetBoolFromQuery(param web.Param) bool
- func (e *EchoMapperAdapter) GetContext() context.Context
- func (e *EchoMapperAdapter) GetFloatFromForm(param web.Param) float64
- func (e *EchoMapperAdapter) GetFloatFromPath(param web.Param) float64
- func (e *EchoMapperAdapter) GetFloatFromQuery(param web.Param) float64
- func (e *EchoMapperAdapter) GetIntFromForm(param web.Param) int
- func (e *EchoMapperAdapter) GetIntFromPath(param web.Param) int
- func (e *EchoMapperAdapter) GetIntFromQuery(param web.Param) int
- func (e *EchoMapperAdapter) GetMapFromBody(param web.Param) interface{}
- func (e *EchoMapperAdapter) GetMapFromForm() map[string][]string
- func (e *EchoMapperAdapter) GetMultipartFile(param web.Param) multipart.File
- func (e *EchoMapperAdapter) GetMultipartHeader(param web.Param) *multipart.FileHeader
- func (e *EchoMapperAdapter) GetRequest() *http.Request
- func (e *EchoMapperAdapter) GetResponseWriter() http.ResponseWriter
- func (e *EchoMapperAdapter) GetStream() []byte
- func (e *EchoMapperAdapter) GetStringFromForm(param web.Param) string
- func (e *EchoMapperAdapter) GetStringFromHeader(param web.Param) string
- func (e *EchoMapperAdapter) GetStringFromMultipart(param web.Param) string
- func (e *EchoMapperAdapter) GetStringFromPath(param web.Param) string
- func (e *EchoMapperAdapter) GetStringFromQuery(param web.Param) string
- func (e *EchoMapperAdapter) GetStructFromBody(param web.Param) interface{}
- func (e *EchoMapperAdapter) GetStructFromQuery(param web.Param) interface{}
- type Starter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiHandler ¶
func PathVariableParser ¶
func StaticHandler ¶
func StaticHandler(url, dir string)
Types ¶
type EchoMapperAdapter ¶
type EchoMapperAdapter struct {
// contains filtered or unexported fields
}
func NewEchoMapperAdapter ¶
func NewEchoMapperAdapter(c echo.Context) *EchoMapperAdapter
func (*EchoMapperAdapter) Get ¶
func (e *EchoMapperAdapter) Get(param web.Param) interface{}
func (*EchoMapperAdapter) GetBoolFromForm ¶
func (e *EchoMapperAdapter) GetBoolFromForm(param web.Param) bool
func (*EchoMapperAdapter) GetBoolFromPath ¶
func (e *EchoMapperAdapter) GetBoolFromPath(param web.Param) bool
func (*EchoMapperAdapter) GetBoolFromQuery ¶
func (e *EchoMapperAdapter) GetBoolFromQuery(param web.Param) bool
func (*EchoMapperAdapter) GetContext ¶ added in v1.3.4
func (e *EchoMapperAdapter) GetContext() context.Context
func (*EchoMapperAdapter) GetFloatFromForm ¶
func (e *EchoMapperAdapter) GetFloatFromForm(param web.Param) float64
func (*EchoMapperAdapter) GetFloatFromPath ¶
func (e *EchoMapperAdapter) GetFloatFromPath(param web.Param) float64
func (*EchoMapperAdapter) GetFloatFromQuery ¶
func (e *EchoMapperAdapter) GetFloatFromQuery(param web.Param) float64
func (*EchoMapperAdapter) GetIntFromForm ¶
func (e *EchoMapperAdapter) GetIntFromForm(param web.Param) int
func (*EchoMapperAdapter) GetIntFromPath ¶
func (e *EchoMapperAdapter) GetIntFromPath(param web.Param) int
func (*EchoMapperAdapter) GetIntFromQuery ¶
func (e *EchoMapperAdapter) GetIntFromQuery(param web.Param) int
func (*EchoMapperAdapter) GetMapFromBody ¶
func (e *EchoMapperAdapter) GetMapFromBody(param web.Param) interface{}
func (*EchoMapperAdapter) GetMapFromForm ¶
func (e *EchoMapperAdapter) GetMapFromForm() map[string][]string
func (*EchoMapperAdapter) GetMultipartFile ¶
func (e *EchoMapperAdapter) GetMultipartFile(param web.Param) multipart.File
func (*EchoMapperAdapter) GetMultipartHeader ¶
func (e *EchoMapperAdapter) GetMultipartHeader(param web.Param) *multipart.FileHeader
func (*EchoMapperAdapter) GetRequest ¶
func (e *EchoMapperAdapter) GetRequest() *http.Request
func (*EchoMapperAdapter) GetResponseWriter ¶
func (e *EchoMapperAdapter) GetResponseWriter() http.ResponseWriter
func (*EchoMapperAdapter) GetStream ¶
func (e *EchoMapperAdapter) GetStream() []byte
func (*EchoMapperAdapter) GetStringFromForm ¶
func (e *EchoMapperAdapter) GetStringFromForm(param web.Param) string
func (*EchoMapperAdapter) GetStringFromHeader ¶
func (e *EchoMapperAdapter) GetStringFromHeader(param web.Param) string
func (*EchoMapperAdapter) GetStringFromMultipart ¶
func (e *EchoMapperAdapter) GetStringFromMultipart(param web.Param) string
func (*EchoMapperAdapter) GetStringFromPath ¶
func (e *EchoMapperAdapter) GetStringFromPath(param web.Param) string
func (*EchoMapperAdapter) GetStringFromQuery ¶
func (e *EchoMapperAdapter) GetStringFromQuery(param web.Param) string
func (*EchoMapperAdapter) GetStructFromBody ¶
func (e *EchoMapperAdapter) GetStructFromBody(param web.Param) interface{}
func (*EchoMapperAdapter) GetStructFromQuery ¶
func (e *EchoMapperAdapter) GetStructFromQuery(param web.Param) interface{}
type Starter ¶ added in v1.3.4
func (*Starter) Beans ¶ added in v1.3.4
func (s *Starter) Beans() (beans bean.Components)
func (*Starter) ListenAndServe ¶ added in v1.3.4
func (*Starter) RestHandler ¶ added in v1.3.4
func (s *Starter) RestHandler() web.RestHandler
Click to show internal directories.
Click to hide internal directories.