Documentation
¶
Overview ¶
Package staticdiscovery implement staticdiscovery
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryService ¶
type DiscoveryService struct {
// contains filtered or unexported fields
}
DiscoveryService fetches endpoints for a consortium.
func NewService ¶
func NewService(c config) *DiscoveryService
NewService create new DiscoveryService.
func (*DiscoveryService) GetEndpoints ¶
func (ds *DiscoveryService) GetEndpoints(consortiumDomain string) ([]*models.Endpoint, error)
GetEndpoints get a list of endpoints to use from a consortium domain.
Click to show internal directories.
Click to hide internal directories.