Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ICreateHelper ¶
ICreateHelper ICreateHelper实现了指标类型排序中的Less方法
type IRouter ¶
IRouter 实现了Router方法
func NewNodeShut ¶
NewNodeShut 创建NewNodeShut,暂未用到
func ParseRouter ¶
func ParseRouter(rules []Rule, helper ICreateHelper) (IRouter, error)
ParseRouter parse rule to IRouter
type NodeShut ¶
type NodeShut struct {
// contains filtered or unexported fields
}
NodeShut NodeShut
type PathSort ¶
type PathSort struct {
// contains filtered or unexported fields
}
PathSort 指标排序结构体,实现了sort接口,用于对路由路径上的指标进行排序
Click to show internal directories.
Click to hide internal directories.