- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for manual (0.13 sec)
-
internal/rest/client.go
func (c *Client) Call(ctx context.Context, method string, values url.Values, body io.Reader, length int64) (reply io.ReadCloser, err error) { switch atomic.LoadInt32(&c.connected) { case closed: // client closed, this is usually a manual process // so return a local error as client is closed return nil, &NetworkError{Err: ErrClientClosed} case offline: // client offline, return last error captured. return nil, &NetworkError{Err: c.LastError()}
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 14.4K bytes - Viewed (0)