source/fake.go
func (sc *fakeSource) Endpoints() ([]*endpoint.Endpoint, error) {
	endpoints := make([]*endpoint.Endpoint, 10)

	for i := 0; i < 10; i++ {
		endpoints[i], _ = sc.generateEndpoint()
	}

	return endpoints, nil
}
func (sc *fakeSource) Endpoints() ([]*endpoint.Endpoint, error) {
	endpoints := make([]*endpoint.Endpoint, 10)

	for i := 0; i < 10; i++ {
		endpoints[i], _ = sc.generateEndpoint()
	}

	return endpoints, nil
}
// Endpoints returns endpoint objects.