Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalMap ¶
func UnmarshalToMapString ¶
func UnmarshalToMapString(a json.RawMessage) map[string]interface{}
Types ¶
type NopClient ¶
type NopClient struct {
*Client
Transport *httpmock.MockTransport
RequestHeaders map[string]http.Header
RequestBody map[string]string
Response map[string]ResponseSpec
}
func NewNopClient ¶
type ResponseSpec ¶
type ResponseSpec struct {
Code int
Msg interface{}
}
Click to show internal directories.
Click to hide internal directories.