# 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.
# Interfaces
Router return route rule, you can also set custom route rule.