Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StartTestTLSServer (0.17 sec)

  1. cmd/server_test.go

    // Starting the Test server with temporary backend.
    func (s *TestSuiteCommon) SetUpSuite(c *check) {
    	if s.secure {
    		cert, key, err := generateTLSCertKey("127.0.0.1")
    		c.Assert(err, nil)
    
    		s.testServer = StartTestTLSServer(c, s.serverType, cert, key)
    	} else {
    		s.testServer = StartTestServer(c, s.serverType)
    	}
    
    	s.client = s.testServer.Server.Client()
    	s.endPoint = s.testServer.Server.URL
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top