Documentation ¶
Overview ¶
Package discovery implement discovery
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDiscoveryService ¶
type MockDiscoveryService struct {
GetEndpointsFunc func(domain string) ([]*models.Endpoint, error)
}
MockDiscoveryService implements a mock discovery service.
func (*MockDiscoveryService) GetEndpoints ¶
func (m *MockDiscoveryService) GetEndpoints(domain string) ([]*models.Endpoint, error)
GetEndpoints discover endpoints from a consortium.
Click to show internal directories.
Click to hide internal directories.