Documentation ¶
Index ¶
- type Endpoint
- type EndpointIterator
- type Pool
- func (p *Pool) ContextPath() string
- func (p *Pool) Each(f func(endpoint *Endpoint))
- func (p *Pool) Endpoints(initial string) EndpointIterator
- func (p *Pool) IsEmpty() bool
- func (p *Pool) MarkUpdated(t time.Time)
- func (p *Pool) MarshalJSON() ([]byte, error)
- func (p *Pool) PruneEndpoints(defaultThreshold time.Duration) []*Endpoint
- func (p *Pool) Put(endpoint *Endpoint) bool
- func (p *Pool) Remove(endpoint *Endpoint) bool
- func (p *Pool) RouteServiceUrl() string
- type Uri
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { ApplicationId string Tags map[string]string PrivateInstanceId string RouteServiceUrl string ModificationTag models.ModificationTag // contains filtered or unexported fields }
func NewEndpoint ¶
func (*Endpoint) CanonicalAddr ¶
func (*Endpoint) MarshalJSON ¶
type EndpointIterator ¶
type EndpointIterator interface { Next() *Endpoint EndpointFailed() }
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func (*Pool) ContextPath ¶
func (*Pool) Endpoints ¶
func (p *Pool) Endpoints(initial string) EndpointIterator
func (*Pool) MarkUpdated ¶
func (*Pool) MarshalJSON ¶
func (*Pool) PruneEndpoints ¶
func (*Pool) RouteServiceUrl ¶
Click to show internal directories.
Click to hide internal directories.