Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/metrics-v3-handler.go

    			Registry:            registry,
    			MaxRequestsInFlight: 2,
    		},
    		authFn: authFn,
    
    		metricsData: metricGroups,
    	}
    }
    
    // metricDisplay - contains info on a metric for display purposes.
    type metricDisplay struct {
    	Name   string   `json:"name"`
    	Help   string   `json:"help"`
    	Type   string   `json:"type"`
    	Labels []string `json:"labels"`
    }
    
    func (md metricDisplay) String() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. internal/logger/logger.go

    var matchingFuncNames = [...]string{
    	"http.HandlerFunc.ServeHTTP",
    	"cmd.serverMain",
    	// add more here ..
    }
    
    // quietFlag: Hide startup messages if enabled
    // jsonFlag: Display in JSON format, if enabled
    var (
    	quietFlag, jsonFlag, anonFlag bool
    	// Custom function to format error
    	errorFmtFunc func(string, error, bool) string
    )
    
    // EnableQuiet - turns quiet option on.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top