Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArgsSource ¶
func (*ArgsSource) HasValue ¶
func (form *ArgsSource) HasValue(key string) bool
func (*ArgsSource) TrySet ¶
func (form *ArgsSource) TrySet(value reflect.Value, field *reflect.StructField, key string, opt mtos.SetOptions) (isSet bool, err error)
TrySet tries to set a value by request's form source (like map[string][]string)
type CtxSource ¶
type CtxSource fasthttp.RequestCtx
type HeaderSource ¶
type HeaderSource fasthttp.RequestHeader
func (*HeaderSource) TrySet ¶
func (form *HeaderSource) TrySet(value reflect.Value, field *reflect.StructField, key string, opt mtos.SetOptions) (isSet bool, err error)
TrySet tries to set a value by request's form source (like map[string][]string)
type RequestSource ¶
func (RequestSource) BodyBind ¶
func (s RequestSource) BodyBind(obj any) error
func (RequestSource) Form ¶
func (s RequestSource) Form() mtos.Setter
func (RequestSource) Header ¶
func (s RequestSource) Header() mtos.Setter
func (RequestSource) Query ¶
func (s RequestSource) Query() mtos.Setter
func (RequestSource) Uri ¶
func (s RequestSource) Uri() mtos.Setter
Click to show internal directories.
Click to hide internal directories.