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