serverindex

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: MIT Imports: 5 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 map[string]qserver.GenericServer

func New

func New(servers []qserver.GenericServer) ServerIndex

func (ServerIndex) ActiveAddresses

func (i ServerIndex) ActiveAddresses() []string

func (ServerIndex) Get

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

func (ServerIndex) Servers

func (i ServerIndex) Servers() []qserver.GenericServer

func (ServerIndex) Update

func (i ServerIndex) Update(servers []qserver.GenericServer)

Jump to

Keyboard shortcuts

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