Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setConsoleSrv (0.06 sec)

  1. cmd/api-router.go

    	globalHTTPServer = h
    	globalObjLayerMutex.Unlock()
    }
    
    func newConsoleServerFn() *consoleapi.Server {
    	globalObjLayerMutex.RLock()
    	defer globalObjLayerMutex.RUnlock()
    	return globalConsoleSrv
    }
    
    func setConsoleSrv(srv *consoleapi.Server) {
    	globalObjLayerMutex.Lock()
    	globalConsoleSrv = srv
    	globalObjLayerMutex.Unlock()
    }
    
    func newObjectLayerFn() ObjectLayer {
    	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 globalBrowserEnabled {
    			bootstrapTrace("initConsoleServer", func() {
    				srv, err := initConsoleServer()
    				if err != nil {
    					logger.FatalIf(err, "Unable to initialize console service")
    				}
    
    				setConsoleSrv(srv)
    
    				go func() {
    					logger.FatalIf(newConsoleServerFn().Serve(), "Unable to initialize console server")
    				}()
    			})
    		}
    
    		// if we see FTP args, start FTP if possible
    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