route

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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