Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for newAPIEndpoints (0.08 seconds)

  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 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top