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)
Click to show internal directories.
Click to hide internal directories.