Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Print (0.2 sec)

  1. internal/logger/console.go

    	for _, line := range strings.Split(errMsg, "\n") {
    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    		for {
    			// Save the attributes of the current cursor helps
    			// us save the text color of the passed error message
    			ansiSaveAttributes()
    			// Print banner with or without the log tag
    			if !tagPrinted {
    				fmt.Fprint(Output, logBanner)
    				tagPrinted = true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. docs/iam/identity-manager-plugin.go

    	}
    
    	fmt.Printf("Allowed for token: %s user: %s\n", token, rsp.User)
    
    	w.WriteHeader(http.StatusOK)
    	json.NewEncoder(w).Encode(rsp)
    	return
    }
    
    func main() {
    	http.HandleFunc("/", mainHandler)
    
    	log.Print("Listening on :8081")
    	log.Fatal(http.ListenAndServe(":8081", nil))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. cmd/common-main.go

    		consoleapi.TLSPort = globalMinioConsolePort
    		consoleapi.Hostname = globalMinioConsoleHost
    	}
    
    	return server, nil
    }
    
    // Check for updates and print a notification message
    func checkUpdate(mode string) {
    	updateURL := minioReleaseInfoURL
    	if runtime.GOOS == globalWindowsOSName {
    		updateURL = minioReleaseWindowsInfoURL
    	}
    
    	u, err := url.Parse(updateURL)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  4. cmd/erasure-server-pool.go

    	atTotal := uint64(0)
    	for _, pool := range serverPools {
    		atTotal += pool.Available
    		if atTotal > choose && pool.Available > 0 {
    			return pool.Index
    		}
    	}
    	// Should not happen, but print values just in case.
    	storageLogIf(ctx, fmt.Errorf("reached end of serverPools (total: %v, atTotal: %v, choose: %v)", total, atTotal, choose))
    	return -1
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  5. cmd/server-main.go

    	if err := globalConfigSys.Init(newObject); err != nil {
    		if configRetriableErrors(err) {
    			return fmt.Errorf("Unable to initialize config system: %w", err)
    		}
    
    		// Any other config errors we simply print a message and proceed forward.
    		configLogIf(ctx, fmt.Errorf("Unable to initialize config, some features may be missing: %w", err))
    	}
    
    	return nil
    }
    
    func setGlobalInternodeInterface(interfaceName string) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
Back to top