Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newPeerRESTClient (0.07 sec)

  1. cmd/peer-rest-client.go

    	// Will return nil if the grid connection is not initialized yet.
    	gridConn func() *grid.Connection
    }
    
    // Returns a peer rest client.
    func newPeerRESTClient(peer *xnet.Host, gridHost string) *peerRESTClient {
    	scheme := "http"
    	if globalIsTLS {
    		scheme = "https"
    	}
    
    	serverURL := &url.URL{
    		Scheme: scheme,
    		Host:   peer.String(),
    		Path:   peerRESTPath,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top