Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newPeerRESTClient (0.2 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,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
Back to top