// APIEndpointFromString returns an APIEndpoint struct based on a "host:port" raw string. func APIEndpointFromString(apiEndpoint string) (APIEndpoint, error) { … } func (endpoint *APIEndpoint) String() string { … }
// APIEndpointFromString returns an APIEndpoint struct based on a "host:port" raw string. func APIEndpointFromString(apiEndpoint string) (APIEndpoint, error) { … } func (endpoint *APIEndpoint) String() string { … }