Documentation ¶
Index ¶
- func IrisHandler(apiInfo *web.ApiInfo, funcType reflect.Method, funcValue reflect.Value)
- type IrisMapperAdapter
- func (r *IrisMapperAdapter) Get(param web.Param) interface{}
- func (r *IrisMapperAdapter) GetBoolFromForm(param web.Param) bool
- func (r *IrisMapperAdapter) GetBoolFromPath(param web.Param) bool
- func (r *IrisMapperAdapter) GetBoolFromQuery(param web.Param) bool
- func (r *IrisMapperAdapter) GetFloatFromForm(param web.Param) float64
- func (r *IrisMapperAdapter) GetFloatFromPath(param web.Param) float64
- func (r *IrisMapperAdapter) GetFloatFromQuery(param web.Param) float64
- func (r *IrisMapperAdapter) GetIntFromForm(param web.Param) int
- func (r *IrisMapperAdapter) GetIntFromPath(param web.Param) int
- func (r *IrisMapperAdapter) GetIntFromQuery(param web.Param) int
- func (r *IrisMapperAdapter) GetMapFromBody(param web.Param) interface{}
- func (r *IrisMapperAdapter) GetMapFromForm() map[string][]string
- func (r *IrisMapperAdapter) GetMultipartFile(param web.Param) multipart.File
- func (r *IrisMapperAdapter) GetMultipartHeader(param web.Param) *multipart.FileHeader
- func (r *IrisMapperAdapter) GetRequest() *http.Request
- func (r *IrisMapperAdapter) GetResponseWriter() http.ResponseWriter
- func (r *IrisMapperAdapter) GetStream() []byte
- func (r *IrisMapperAdapter) GetStringFromForm(param web.Param) string
- func (r *IrisMapperAdapter) GetStringFromHeader(param web.Param) string
- func (r *IrisMapperAdapter) GetStringFromMultipart(param web.Param) string
- func (r *IrisMapperAdapter) GetStringFromPath(param web.Param) string
- func (r *IrisMapperAdapter) GetStringFromQuery(param web.Param) string
- func (r *IrisMapperAdapter) GetStructFromBody(param web.Param) interface{}
- func (r *IrisMapperAdapter) GetStructFromQuery(param web.Param) interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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{}
Click to show internal directories.
Click to hide internal directories.