Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newConsoleServerFn (0.1 sec)

  1. cmd/signals.go

    			}
    		}
    
    		if objAPI := newObjectLayerFn(); objAPI != nil {
    			shutdownLogIf(context.Background(), objAPI.Shutdown(context.Background()))
    		}
    
    		if globalBrowserEnabled {
    			if srv := newConsoleServerFn(); srv != nil {
    				shutdownLogIf(context.Background(), srv.Shutdown())
    			}
    		}
    
    		if globalEventNotifier != nil {
    			globalEventNotifier.RemoveAllBucketTargets()
    		}
    
    		return true
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:02:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. cmd/api-router.go

    	defer globalObjLayerMutex.RUnlock()
    	return globalHTTPServer
    }
    
    func setHTTPServer(h *xhttp.Server) {
    	globalObjLayerMutex.Lock()
    	globalHTTPServer = h
    	globalObjLayerMutex.Unlock()
    }
    
    func newConsoleServerFn() *consoleapi.Server {
    	globalObjLayerMutex.RLock()
    	defer globalObjLayerMutex.RUnlock()
    	return globalConsoleSrv
    }
    
    func setConsoleSrv(srv *consoleapi.Server) {
    	globalObjLayerMutex.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. cmd/server-main.go

    				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
    		if len(globalServerCtxt.FTP) > 0 {
    			bootstrapTrace("go startFTPServer", func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
Back to top