Documentation ¶
Index ¶
Constants ¶
View Source
const LEGACY_ROOT = "/healthstatus/doppler"
View Source
const META_ROOT = "/doppler/meta"
Variables ¶
This section is empty.
Functions ¶
func Announce ¶
func Announce(localIP string, ttl time.Duration, config *config.Config, storeAdapter storeadapter.StoreAdapter) chan (chan bool)
func AnnounceLegacy ¶
func AnnounceLegacy(localIP string, ttl time.Duration, config *config.Config, storeAdapter storeadapter.StoreAdapter) chan (chan bool)
Types ¶
type DopplerEvent ¶
type DopplerEvent struct { Version int `json:"version"` Endpoints set `json:"endpoints"` }
type DopplerMeta ¶
type Finder ¶
type Finder struct {
// contains filtered or unexported fields
}
func NewFinder ¶
func NewFinder(adapter StoreAdapter, legacyPort, grpcPort int, protocols []string, preferredDopplerZone string) *Finder
func (*Finder) WebsocketServers ¶
type StoreAdapter ¶
type StoreAdapter interface { Watch(key string) (events <-chan storeadapter.WatchEvent, stop chan<- bool, errors <-chan error) ListRecursively(key string) (storeadapter.StoreNode, error) }
Click to show internal directories.
Click to hide internal directories.