Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRouter ¶
func NewRouter(bus messagebus.MessageBus, tcpRouter tcp.Router) route.Router
NewRouter creates a new route.Router for CloudFoundry
This object wraps the CloudFoundry HTTP (gorouter) and TCP (routing-api) routers
Types ¶
type RouterBuilder ¶
type RouterBuilder struct {
// contains filtered or unexported fields
}
func DefaultRouterBuilder ¶
func DefaultRouterBuilder() *RouterBuilder
func NewRouterBuilder ¶
func NewRouterBuilder( newUAAClient func(lager.Logger, *uaaConfig.Config, clock.Clock) (uaa.Client, error), newTCPRouter func(uaa.Client, string, bool) (tcp.Router, error), newMessageBus func(lager.Logger) messagebus.MessageBus, newRouter func(messagebus.MessageBus, tcp.Router) route.Router) *RouterBuilder
func (*RouterBuilder) CreateRouter ¶
Click to show internal directories.
Click to hide internal directories.