Documentation ¶
Overview ¶
Package endpoint implement endpoint service
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointService ¶
type EndpointService struct {
// contains filtered or unexported fields
}
EndpointService uses discovery service and selection service to fetch and filter endpoints.
func NewService ¶
func NewService(d discovery, s selection) *EndpointService
NewService create new EndpointService.
func (*EndpointService) GetEndpoints ¶
func (es *EndpointService) GetEndpoints(domain string) ([]*models.Endpoint, error)
GetEndpoints get a list of endpoints to use from a consortium at a given domain.
Click to show internal directories.
Click to hide internal directories.