serverindex

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerIndex

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

func New

func New(servers []qserver.GenericServer) *ServerIndex

func (*ServerIndex) ActiveAddresses

func (idx *ServerIndex) ActiveAddresses() []string

func (*ServerIndex) Get

func (idx *ServerIndex) Get(address string) (qserver.GenericServer, error)

func (*ServerIndex) Servers

func (idx *ServerIndex) Servers() []qserver.GenericServer

func (*ServerIndex) Upsert added in v0.9.2

func (idx *ServerIndex) Upsert(servers []qserver.GenericServer)

Jump to

Keyboard shortcuts

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