lookup

package
v0.0.0-...-7787783 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 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 Many

type Many struct {
	// contains filtered or unexported fields
}

func NewMany

func NewMany() *Many

func (*Many) Add

func (m *Many) Add(name string, server proto.Server)

func (*Many) All

func (m *Many) All() map[string]proto.Server

func (*Many) Lookup

func (m *Many) Lookup(name string) proto.Server

type Single

type Single struct {
	// contains filtered or unexported fields
}

func NewSingle

func NewSingle(server proto.Server) Single

func (Single) Lookup

func (s Single) Lookup(name string) proto.Server

Jump to

Keyboard shortcuts

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