event

package
v0.0.0-...-fbfd2f8 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2017 License: Apache-2.0 Imports: 4 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoutingEvent

type RoutingEvent struct {
	EventType RoutingEventType
	Key       endpoint.RoutingKey
	Entry     endpoint.RoutableEndpoints
}

func (RoutingEvent) Valid

func (r RoutingEvent) Valid() bool

type RoutingEventType

type RoutingEventType string
const (
	RouteRegistrationEvent   RoutingEventType = "RouteRegistrationEvent"
	RouteUnregistrationEvent RoutingEventType = "RouteUnregistrationEvent"
)

type RoutingEvents

type RoutingEvents []RoutingEvent

func (RoutingEvents) ToMappingRequests

func (routingEvents RoutingEvents) ToMappingRequests(logger lager.Logger, ttl int) ([]models.TcpRouteMapping, []models.TcpRouteMapping)

Jump to

Keyboard shortcuts

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