Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileRouteAsRegex ¶
Types ¶
type DynamicProxy ¶
type DynamicProxy struct {
// contains filtered or unexported fields
}
func NewDynamicProxy ¶
func NewDynamicProxy(e *echo.Echo, prefix string) *DynamicProxy
func (*DynamicProxy) AddGroup ¶
func (p *DynamicProxy) AddGroup(prefix string) *echo.Group
func (*DynamicProxy) AddReverseProxy ¶
func (*DynamicProxy) RemoveReverseProxy ¶
func (p *DynamicProxy) RemoveReverseProxy(prefix string)
type RestRouteManager ¶
func NewRestRouteManager ¶
func NewRestRouteManager(e *echo.Echo) *RestRouteManager
func (*RestRouteManager) AddProxyRoute ¶
AddProxyRoute adds a proxy route to the Routes endpoint and configures a remote proxy for this route.
func (*RestRouteManager) AddRoute ¶
func (p *RestRouteManager) AddRoute(route string) *echo.Group
AddRoute adds a route to the Routes endpoint and returns group to be used to register endpoints.
func (*RestRouteManager) RemoveRoute ¶
func (p *RestRouteManager) RemoveRoute(route string)
RemoveRoute removes a route from the Routes endpoint.
func (*RestRouteManager) Routes ¶
func (p *RestRouteManager) Routes() []string
Click to show internal directories.
Click to hide internal directories.