Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArgsSource ¶ added in v0.3.8
func (*ArgsSource) HasValue ¶ added in v0.12.1
func (form *ArgsSource) HasValue(key string) bool
func (*ArgsSource) TrySet ¶ added in v0.3.8
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 ¶ added in v0.3.8
type CtxSource fasthttp.RequestCtx
type HeaderSource ¶ added in v0.3.8
type HeaderSource fasthttp.RequestHeader
func (*HeaderSource) Peek ¶ added in v0.3.8
func (form *HeaderSource) Peek(key string) ([]string, bool)
func (*HeaderSource) TrySet ¶ added in v0.3.8
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 ¶ added in v0.16.0
func (RequestSource) BodyBind ¶ added in v0.16.0
func (s RequestSource) BodyBind(obj any) error
func (RequestSource) Form ¶ added in v0.16.0
func (s RequestSource) Form() mtos.Setter
func (RequestSource) Header ¶ added in v0.16.0
func (s RequestSource) Header() mtos.Setter
func (RequestSource) Query ¶ added in v0.16.0
func (s RequestSource) Query() mtos.Setter
func (RequestSource) Uri ¶ added in v0.16.0
func (s RequestSource) Uri() mtos.Setter
Click to show internal directories.
Click to hide internal directories.