Documentation ¶
Index ¶
- type BodyMap
- func (bm BodyMap) CheckEmptyError(keys ...string) error
- func (bm BodyMap) EncodeAliPaySignParams() string
- func (bm BodyMap) EncodeGetParams() string
- func (bm BodyMap) EncodeSortParams() string
- func (bm BodyMap) EncodeWeChatSignParams(apiKey string) string
- func (bm BodyMap) GetInterface(key string) interface{}
- 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) Remove(key string)
- func (bm BodyMap) Reset()
- func (bm BodyMap) Set(key string, value interface{}) BodyMap
- func (bm BodyMap) SetBodyMap(key string, value func(bm BodyMap)) BodyMap
- func (bm BodyMap) SetFormFile(key string, file *File) BodyMap
- func (bm *BodyMap) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error)
- type File
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BodyMap ¶
type BodyMap map[string]interface{}
func (BodyMap) CheckEmptyError ¶
func (BodyMap) EncodeAliPaySignParams ¶
("bar=baz&foo=quux") sorted by key.
func (BodyMap) EncodeSortParams ¶
("bar=baz&foo=quux") sorted by key.
func (BodyMap) EncodeWeChatSignParams ¶
("bar=baz&foo=quux") sorted by key.
func (BodyMap) GetInterface ¶ added in v1.0.1
获取原始参数
func (BodyMap) MarshalXML ¶
func (BodyMap) SetBodyMap ¶ added in v1.0.1
func (BodyMap) SetFormFile ¶ added in v1.0.1
设置 FormFile
func (*BodyMap) UnmarshalXML ¶
Click to show internal directories.
Click to hide internal directories.