func FromSpace(space app.Space) *Router { app := space.GetApplication((*Router)(nil)) if app == nil { return nil } return app.(*Router) }
func OutboundHandlerManagerFromSpace(space app.Space) OutboundHandlerManager { app := space.GetApplication((*OutboundHandlerManager)(nil)) if app == nil { return nil } return app.(OutboundHandlerManager) }
func FromSpace(space app.Space) Interface { if app := space.GetApplication((*Interface)(nil)); app != nil { return app.(Interface) } return nil }