route

package
v0.0.0-...-692e367 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRouteNotFound  = errors.New("route not found")
	ErrDuplicateRoute = errors.New("duplicate route")
)

Functions

This section is empty.

Types

type List

type List []Route

func (*List) Addresses

func (r *List) Addresses() []string

type Route

type Route struct {
	Service string `json:"service"`
	Address string `json:"address"`
}

func (*Route) Hash

func (r *Route) Hash() string

Jump to

Keyboard shortcuts

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