Documentation ¶
Index ¶
- func ApiHandler(apiInfo *web.ApiInfo, funcType reflect.Method, funcValue reflect.Value)
- func StaticHandler(url, dir string)
- 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 ¶
func ApiHandler ¶
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{}
Click to show internal directories.
Click to hide internal directories.