endpoint

package
v0.0.0-...-1a43f7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL