Documentation ¶
Index ¶
- type BodyMap
- func (bm BodyMap) CheckEmptyError(keys ...string) error
- func (bm BodyMap) Decode(key string, ptr any) error
- func (bm BodyMap) EncodeURLParams() string
- func (bm BodyMap) GetAny(key string) any
- func (bm BodyMap) GetInterface(key string) anydeprecated
- func (bm BodyMap) GetString(key string) string
- func (bm BodyMap) JsonBody() (jb string)
- func (bm BodyMap) MarshalXML(e *xml.Encoder, start xml.StartElement) (err error)
- func (bm BodyMap) Range(f func(k string, v any) bool)
- func (bm BodyMap) Remove(key string)
- func (bm BodyMap) Reset()
- func (bm BodyMap) Set(key string, value any) BodyMap
- func (bm BodyMap) SetBodyMap(key string, value func(bm BodyMap)) BodyMap
- func (bm BodyMap) SetFormFile(key string, file *File) BodyMap
- func (bm BodyMap) Unmarshal(jsonBs []byte) error
- func (bm BodyMap) UnmarshalString(jsonStr string) error
- func (bm *BodyMap) UnmarshalXML(d *xml.Decoder, _ xml.StartElement) (err error)
- type File
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BodyMap ¶
func (BodyMap) CheckEmptyError ¶
func (BodyMap) EncodeURLParams ¶
("bar=baz&foo=quux") sorted by key.
func (BodyMap) GetInterface
deprecated
func (BodyMap) MarshalXML ¶
func (BodyMap) SetBodyMap ¶
func (BodyMap) SetFormFile ¶
设置 FormFile
func (BodyMap) UnmarshalString ¶ added in v0.0.3
func (*BodyMap) UnmarshalXML ¶
Click to show internal directories.
Click to hide internal directories.