route_helpers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const AppRouter = "cf-router"

Variables

This section is empty.

Functions

This section is empty.

Types

type AppRoute

type AppRoute struct {
	Hostnames []string `json:"hostnames"`
	Port      uint16   `json:"port"`
}

type AppRoutes

type AppRoutes []AppRoute

func AppRoutesFromRoutingInfo

func AppRoutesFromRoutingInfo(routingInfo receptor.RoutingInfo) AppRoutes

func (AppRoutes) HostnamesByPort

func (l AppRoutes) HostnamesByPort() map[uint16][]string

func (AppRoutes) RoutingInfo

func (l AppRoutes) RoutingInfo() receptor.RoutingInfo

Jump to

Keyboard shortcuts

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