Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for endpointLocalMap (2.06 sec)

  1. cmd/endpoint.go

    	// is true and it works in all scenarios and it is safe to assume
    	// for a given host.
    	endpointLocalMap := make(map[string]bool)
    	for _, ep := range endpoints {
    		if ep.IsLocal {
    			endpointLocalMap[ep.Host] = ep.IsLocal
    		}
    	}
    	for i := range endpoints {
    		endpoints[i].IsLocal = endpointLocalMap[endpoints[i].Host]
    	}
    	return nil
    }
    
    // NewEndpoints - returns new endpoint list based on input args.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
Back to top