Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newAPIEndpoints (0.36 sec)

  1. cmd/server-startup-msg.go

    // port "80" and "443" before displaying on the startup
    // banner.  Returns a new list of API endpoints.
    func stripStandardPorts(apiEndpoints []string, host string) (newAPIEndpoints []string) {
    	if len(apiEndpoints) == 1 {
    		return apiEndpoints
    	}
    	newAPIEndpoints = make([]string, len(apiEndpoints))
    	// Check all API endpoints for standard ports and strip them.
    	for i, apiEndpoint := range apiEndpoints {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top