comments for AsyncAPI method
Signed-off-by: Michael <michael.lindman@gmail.com>
This commit is contained in:
parent
0e538eaee5
commit
d683b10c8a
2
api.go
2
api.go
@ -64,7 +64,7 @@ func API(method string, r *Options, path string, data []byte) (*Request, error)
|
||||
return Req(method, resp.StatusCode, req.URL, nil), apiError(r.URL, path, resp.StatusCode)
|
||||
}
|
||||
|
||||
// AsyncAPI sends request concurrently
|
||||
// AsyncAPI send requests concurrently
|
||||
func AsyncAPI(method string, r *Options, path string, data []byte, ch chan *Request, chFinished chan bool, chError chan error) {
|
||||
resp, err := API(method, r, path, data)
|
||||
defer func() {
|
||||
|
Loading…
Reference in New Issue
Block a user