route

package
v0.0.0-...-4d3f714 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServiceRouteRule

func GetServiceRouteRule(serviceName string) []*model.RouteRule

GetServiceRouteRule gets route rule for that service

Types

type Rules

type Rules struct {
	Destinations map[string][]*model.RouteRule `yaml:"routeRule"`
}

Rules is the struct for route rule

func GetRouteRules

func GetRouteRules() *Rules

GetRouteRules gets all route rules

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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