Documentation ¶
Index ¶
- type CFRegistry
- func (r *CFRegistry) Lookup(uri route.Uri) (*route.Endpoint, bool)
- func (r *CFRegistry) LookupByPrivateInstanceId(uri route.Uri, p string) (*route.Endpoint, bool)
- func (r *CFRegistry) MarshalJSON() ([]byte, error)
- func (r *CFRegistry) NumEndpoints() int
- func (registry *CFRegistry) NumUris() int
- func (r *CFRegistry) PruneStaleDroplets()
- func (registry *CFRegistry) Register(uri route.Uri, endpoint *route.Endpoint)
- func (r *CFRegistry) StartPruningCycle()
- func (r *CFRegistry) TimeOfLastUpdate() time.Time
- func (registry *CFRegistry) Unregister(uri route.Uri, endpoint *route.Endpoint)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFRegistry ¶
func NewCFRegistry ¶
func NewCFRegistry(c *config.Config, mbus yagnats.NATSClient) *CFRegistry
func (*CFRegistry) LookupByPrivateInstanceId ¶
func (*CFRegistry) MarshalJSON ¶
func (r *CFRegistry) MarshalJSON() ([]byte, error)
func (*CFRegistry) NumEndpoints ¶
func (r *CFRegistry) NumEndpoints() int
func (*CFRegistry) NumUris ¶
func (registry *CFRegistry) NumUris() int
func (*CFRegistry) PruneStaleDroplets ¶
func (r *CFRegistry) PruneStaleDroplets()
func (*CFRegistry) Register ¶
func (registry *CFRegistry) Register(uri route.Uri, endpoint *route.Endpoint)
func (*CFRegistry) StartPruningCycle ¶
func (r *CFRegistry) StartPruningCycle()
func (*CFRegistry) TimeOfLastUpdate ¶
func (r *CFRegistry) TimeOfLastUpdate() time.Time
func (*CFRegistry) Unregister ¶
func (registry *CFRegistry) Unregister(uri route.Uri, endpoint *route.Endpoint)
Click to show internal directories.
Click to hide internal directories.