package
0.0.0-20200226065818-fe632b36a108
Repository: https://github.com/alipay/sofa-mesh.git
Documentation: pkg.go.dev

# Functions

BuildTable builds and returns a routing table.
Empty returns an empty routing table.

# Constants

Request and response header operation types.
Request and response header operation types.

# Structs

Destination contains a target handler, and instances to send, grouped by the conditional match that applies to them.
DirectiveGroup is a group of route directive expressions with a condition.
HeaderOperation is an intermediate form of a rule header operation.
InstanceGroup is a set of instances that needs to be sent to a handler, grouped by a condition expression.
NamedBuilder holds a builder function and the short name of the associated instance.
NamespaceTable contains a list of destinations and directives that should be targeted for a given namespace.
Table is the main routing table.
TemplateInfo is the common data that is needed from a template.

# Type aliases

HeaderOperationType is an enumeration for the route directive header operation template type.