discovery

package
v0.0.0-...-ecdaeff Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Poll() (map[string]Node, error)
}

type Node

type Node struct {
	ID        string         `json:"id"`
	Endpoints []NodeEndpoint `json:"endpoints"`
}

type NodeEndpoint

type NodeEndpoint struct {
	IP   string `json:"ip"`
	Port int    `json:"port"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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