Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setHTTPServer (0.14 sec)

  1. cmd/api-router.go

    	"github.com/minio/pkg/v3/wildcard"
    	"github.com/rs/cors"
    )
    
    func newHTTPServerFn() *xhttp.Server {
    	globalObjLayerMutex.RLock()
    	defer globalObjLayerMutex.RUnlock()
    	return globalHTTPServer
    }
    
    func setHTTPServer(h *xhttp.Server) {
    	globalObjLayerMutex.Lock()
    	globalHTTPServer = h
    	globalObjLayerMutex.Unlock()
    }
    
    func newConsoleServerFn() *consoleapi.Server {
    	globalObjLayerMutex.RLock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. cmd/server-main.go

    			})
    			if err != nil {
    				globalHTTPServerErrorCh <- err
    				return
    			}
    			globalHTTPServerErrorCh <- serveFn()
    		}()
    
    		setHTTPServer(httpServer)
    	})
    
    	if globalIsDistErasure {
    		bootstrapTrace("verifying system configuration", func() {
    			// Additionally in distributed setup, validate the setup and configuration.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (2)
Back to top