discovery

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	Addr string
}

type Node

type Node struct {
	Key    string
	Server string
}

func (*Node) String

func (n *Node) String() string

type Register

type Register interface {
	Register(name string, endpoint Endpoint) (*Node, error)
	Deregister(node *Node) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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