comments for AsyncAPI method

Signed-off-by: Michael <michael.lindman@gmail.com>
This commit is contained in:
Michael 2020-02-13 21:50:00 +00:00
parent 0e538eaee5
commit d683b10c8a

2
api.go
View File

@ -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() {