discovery

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery

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

Discovery method for discovering a list of available DTail servers.

func New

func New(method, server string, shuffle bool) *Discovery

New returns a new discovery method.

func (*Discovery) ServerList

func (d *Discovery) ServerList() []string

ServerList to connect to via DTail client.

func (*Discovery) ServerListFromCOMMA

func (d *Discovery) ServerListFromCOMMA() []string

ServerListFromCOMMA retrieves a list of servers from comma separated input list.

func (*Discovery) ServerListFromFILE

func (d *Discovery) ServerListFromFILE() (servers []string)

ServerListFromFILE retrieves a list of servers from a file.

Jump to

Keyboard shortcuts

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