Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/signals.go

    				shutdownLogIf(context.Background(), err)
    			}
    		}
    
    		if objAPI := newObjectLayerFn(); objAPI != nil {
    			shutdownLogIf(context.Background(), objAPI.Shutdown(context.Background()))
    		}
    
    		if srv := newConsoleServerFn(); srv != nil {
    			shutdownLogIf(context.Background(), srv.Shutdown())
    		}
    
    		if globalEventNotifier != nil {
    			globalEventNotifier.RemoveAllBucketTargets()
    		}
    
    		return true
    	}
    
    	for {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.7K 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()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K 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() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32.7K bytes
    - Viewed (1)
Back to top