Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewEndpoint (0.29 sec)

  1. cmd/lock-rest-client_test.go

    )
    
    // Tests lock rpc client.
    func TestLockRESTlient(t *testing.T) {
    	// These should not be connectable.
    	endpoint, err := NewEndpoint("http://localhost:9876")
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    	endpointLocal, err := NewEndpoint("http://localhost:9012")
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    	endpointLocal.IsLocal = true
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 2K bytes
    - Viewed (0)
Back to top