Package endpoint provides the type Endpoint, to be used with the targets.Targets interface.
Endpoint represents a targets and associated parameters.
func EndpointsFromNames ¶
EndpointsFromNames is convenience function to build a list of endpoints from only names. It leaves the Port field in Endpoint unset and initializes Labels field to an empty map.