Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Tr (0.62 sec)

  1. internal/rest/client.go

    }
    
    // Close closes all idle connections of the underlying http client
    func (c *Client) Close() {
    	atomic.StoreInt32(&c.connected, closed)
    }
    
    // NewClient - returns new REST client.
    func NewClient(uu *url.URL, tr http.RoundTripper, newAuthToken func(aud string) string) *Client {
    	connected := int32(online)
    	urlStr := uu.String()
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		// Mark offline, with no reconnection attempts.
    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)
  2. cmd/erasure-healing.go

    			"mode":   fmt.Sprint(opts.ScanMode),
    		}
    		if result != nil {
    			tr.Custom["version-id"] = result.VersionID
    			tr.Custom["disks"] = strconv.Itoa(result.DiskCount)
    		}
    	}
    	if err != nil {
    		tr.Error = err.Error()
    	} else {
    		tr.HealResult = result
    	}
    	globalTrace.Publish(tr)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top