Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + const Base + func FetchTopo(ctx context.Context, params FetchParams, ds *addr.AppAddr, client *http.Client) (*topology.Topo, error) + func FetchTopoRaw(ctx context.Context, params FetchParams, ds *addr.AppAddr, client *http.Client) (*topology.Topo, common.RawBytes, error) + func Path(mode Mode, file File) string + type FetchParams struct + File File + Https bool + Mode Mode + type Fetcher interface + UpdateInstances func(topology.IDAddrMap) error + type File string + const Default + const Endhost + const Full + type InstanceInfo interface + Addr func() *addr.AppAddr + Fail func() + FailCount func() int + Key func() string + Update func(*addr.AppAddr) + type InstancePool interface + Choose func() (InstanceInfo, error) + Update func(topology.IDAddrMap) error + type Mode string + const Dynamic + const Static