echo_plugin

package
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiHandler

func ApiHandler(apiInfo *web.ApiInfo, funcType reflect.Method, funcValue reflect.Value)

func PathVariableParser

func PathVariableParser(url string) string

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) 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{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL