增加负载均衡策略修改的方法

This commit is contained in:
2025-05-23 22:16:30 +08:00
parent e85811512f
commit 640e022a40
2 changed files with 19 additions and 7 deletions

View File

@ -1,23 +0,0 @@
// Package dispatch...
//
// Description : dispatch...
//
// Author : go_developer@163.com<张德满>
//
// Date : 2021-04-01 5:53 下午
package dispatch
import (
"git.zhangdeman.cn/gateway/balance/define"
"git.zhangdeman.cn/zhangdeman/exception"
)
// IDispatch 负载均衡的接口定义
//
// Author : go_developer@163.com<张德满>
//
// Date : 2:44 下午 2021/4/1
type IDispatch interface {
// Get 获取一个节点
Get(nodeList []*define.SeverNode) (string, exception.IException)
}