升级异常
This commit is contained in:
@ -7,7 +7,10 @@
|
||||
// Date : 2021-04-01 5:53 下午
|
||||
package dispatch
|
||||
|
||||
import "git.zhangdeman.cn/gateway/balance/define"
|
||||
import (
|
||||
"git.zhangdeman.cn/gateway/balance/define"
|
||||
"git.zhangdeman.cn/zhangdeman/exception"
|
||||
)
|
||||
|
||||
// IDispatch 负载均衡的接口定义
|
||||
//
|
||||
@ -16,5 +19,5 @@ import "git.zhangdeman.cn/gateway/balance/define"
|
||||
// Date : 2:44 下午 2021/4/1
|
||||
type IDispatch interface {
|
||||
// Get 获取一个节点
|
||||
Get(nodeList []*define.SeverNode) (string, *define.Error)
|
||||
Get(nodeList []*define.SeverNode) (string, exception.IException)
|
||||
}
|
||||
|
Reference in New Issue
Block a user