iris_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: 13 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 StaticHandler

func StaticHandler(url, dir string)

Types

type IrisMapperAdapter

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

func NewIrisMapperAdapter

func NewIrisMapperAdapter(c context.Context) *IrisMapperAdapter

func (*IrisMapperAdapter) Get

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

func (*IrisMapperAdapter) GetBoolFromForm

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

func (*IrisMapperAdapter) GetBoolFromPath

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

func (*IrisMapperAdapter) GetBoolFromQuery

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

func (*IrisMapperAdapter) GetFloatFromForm

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

func (*IrisMapperAdapter) GetFloatFromPath

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

func (*IrisMapperAdapter) GetFloatFromQuery

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

func (*IrisMapperAdapter) GetIntFromForm

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

func (*IrisMapperAdapter) GetIntFromPath

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

func (*IrisMapperAdapter) GetIntFromQuery

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

func (*IrisMapperAdapter) GetMapFromBody

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

func (*IrisMapperAdapter) GetMapFromForm

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

func (*IrisMapperAdapter) GetMultipartFile

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

func (*IrisMapperAdapter) GetMultipartHeader

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

func (*IrisMapperAdapter) GetRequest

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

func (*IrisMapperAdapter) GetResponseWriter

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

func (*IrisMapperAdapter) GetStream

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

func (*IrisMapperAdapter) GetStringFromForm

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

func (*IrisMapperAdapter) GetStringFromHeader

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

func (*IrisMapperAdapter) GetStringFromMultipart

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

func (*IrisMapperAdapter) GetStringFromPath

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

func (*IrisMapperAdapter) GetStringFromQuery

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

func (*IrisMapperAdapter) GetStructFromBody

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

func (*IrisMapperAdapter) GetStructFromQuery

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