Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getNextPort (0.09 sec)

  1. internal/http/listener_test.go

    BKEOXtmSZaPs3xEsnvJd8wrTgA0NQK7v48E+gHSXzQtaHmOLqisRXlUOu2r1gNCJ
    rr3DRiUP6V/10CZ/ImeSJ72k69VuTw9vq2HzB4x6pqxF2X7JQSLUCS2wfNN13N0d
    9A==
    -----END CERTIFICATE-----`)
    
    	return tls.X509KeyPair(certPEMBlock, keyPEMBlock)
    }
    
    func getNextPort() string {
    	return strconv.Itoa(int(atomic.AddUint32(&serverPort, 1)))
    }
    
    func getNonLoopBackIP(t *testing.T) string {
    	localIP4 := set.NewStringSet()
    	addrs, err := net.InterfaceAddrs()
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top