iris_restful_plugin

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IrisHandler added in v1.1.8

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

Types

type IrisMapperAdapter added in v1.3.0

type IrisMapperAdapter struct {
	// contains filtered or unexported fields
}

func NewIrisMapperAdapter added in v1.3.0

func NewIrisMapperAdapter(c context.Context) *IrisMapperAdapter

func (*IrisMapperAdapter) Get added in v1.3.0

func (r *IrisMapperAdapter) Get(param web.Param) interface{}

func (*IrisMapperAdapter) GetBoolFromForm added in v1.3.0

func (r *IrisMapperAdapter) GetBoolFromForm(param web.Param) bool

func (*IrisMapperAdapter) GetBoolFromPath added in v1.3.0

func (r *IrisMapperAdapter) GetBoolFromPath(param web.Param) bool

func (*IrisMapperAdapter) GetBoolFromQuery added in v1.3.0

func (r *IrisMapperAdapter) GetBoolFromQuery(param web.Param) bool

func (*IrisMapperAdapter) GetFloatFromForm added in v1.3.0

func (r *IrisMapperAdapter) GetFloatFromForm(param web.Param) float64

func (*IrisMapperAdapter) GetFloatFromPath added in v1.3.0

func (r *IrisMapperAdapter) GetFloatFromPath(param web.Param) float64

func (*IrisMapperAdapter) GetFloatFromQuery added in v1.3.0

func (r *IrisMapperAdapter) GetFloatFromQuery(param web.Param) float64

func (*IrisMapperAdapter) GetIntFromForm added in v1.3.0

func (r *IrisMapperAdapter) GetIntFromForm(param web.Param) int

func (*IrisMapperAdapter) GetIntFromPath added in v1.3.0

func (r *IrisMapperAdapter) GetIntFromPath(param web.Param) int

func (*IrisMapperAdapter) GetIntFromQuery added in v1.3.0

func (r *IrisMapperAdapter) GetIntFromQuery(param web.Param) int

func (*IrisMapperAdapter) GetMapFromBody added in v1.3.0

func (r *IrisMapperAdapter) GetMapFromBody(param web.Param) interface{}

func (*IrisMapperAdapter) GetMapFromForm added in v1.3.0

func (r *IrisMapperAdapter) GetMapFromForm() map[string][]string

func (*IrisMapperAdapter) GetMultipartFile added in v1.3.0

func (r *IrisMapperAdapter) GetMultipartFile(param web.Param) multipart.File

func (*IrisMapperAdapter) GetMultipartHeader added in v1.3.0

func (r *IrisMapperAdapter) GetMultipartHeader(param web.Param) *multipart.FileHeader

func (*IrisMapperAdapter) GetRequest added in v1.3.0

func (r *IrisMapperAdapter) GetRequest() *http.Request

func (*IrisMapperAdapter) GetResponseWriter added in v1.3.0

func (r *IrisMapperAdapter) GetResponseWriter() http.ResponseWriter

func (*IrisMapperAdapter) GetStream added in v1.3.0

func (r *IrisMapperAdapter) GetStream() []byte

func (*IrisMapperAdapter) GetStringFromForm added in v1.3.0

func (r *IrisMapperAdapter) GetStringFromForm(param web.Param) string

func (*IrisMapperAdapter) GetStringFromHeader added in v1.3.0

func (r *IrisMapperAdapter) GetStringFromHeader(param web.Param) string

func (*IrisMapperAdapter) GetStringFromMultipart added in v1.3.0

func (r *IrisMapperAdapter) GetStringFromMultipart(param web.Param) string

func (*IrisMapperAdapter) GetStringFromPath added in v1.3.0

func (r *IrisMapperAdapter) GetStringFromPath(param web.Param) string

func (*IrisMapperAdapter) GetStringFromQuery added in v1.3.0

func (r *IrisMapperAdapter) GetStringFromQuery(param web.Param) string

func (*IrisMapperAdapter) GetStructFromBody added in v1.3.0

func (r *IrisMapperAdapter) GetStructFromBody(param web.Param) interface{}

func (*IrisMapperAdapter) GetStructFromQuery added in v1.3.0

func (r *IrisMapperAdapter) 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