Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddSRV (0.12 sec)

  1. src/net/resolverdialfunc_test.go

    				w.AddIP([16]byte{1: 1, 15: 15})
    				w.AddIP([16]byte{2: 2, 14: 14})
    				return nil
    			},
    			HandleSRV: func(w SRVWriter, name string) error {
    				w.AddSRV(1, 2, 80, "foo.bar.")
    				w.AddSRV(2, 3, 81, "bar.baz.")
    				return nil
    			},
    		}),
    	}
    	ctx := context.Background()
    	const fakeDomain = "something-that-is-a-not-a-real-domain.fake-tld."
    
    	t.Run("LookupIP", func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top