package
1.4.0
Repository: https://github.com/leon-yc/ggs.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

BuildRouter create a router.
FitRate fit rate.
Init initialize router config in local filethen is create the router component.
InstallRouterService install router service for developer.
Match check the route rule.
QuickSort for sorting the routes it will follow quicksort technique.
Route decide the target service metadatait decide based on configuration of route ruleit will set RouteTag to invocation.
SortRules sort route rules.
SourceMatch check the source route.
ValidateRule validate the route rules of each service.

# Constants

RouterTLS defines tls prefix.

# Variables

DefaultRouter is current router implementation.
ErrNoExist means if there is no router implementation.
Templates is for source match template settings.

# Structs

Options defines how to init router and its fetcher.

# Interfaces

Router return route rule, you can also set custom route rule.