(v interface{})
| 105 | } |
| 106 | |
| 107 | func apiMarshalJson(v interface{}) ([]byte, error) { |
| 108 | return json.MarshalIndent(v, "", " ") |
| 109 | } |
| 110 | |
| 111 | func apiRequestJson(method string, url string, args, reply interface{}) error { |
| 112 | var body []byte |
no outgoing calls
no test coverage detected