mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-11-14 20:52:58 -08:00
prototype for balancing rules
This commit is contained in:
8 files changed
+363
-70
No files matched your search
@@ -15,6 +15,10 @@ type Handler interface {
|
||||
Dispatch(ctx context.Context, link *transport.Link)
|
||||
}
|
||||
|
||||
type HandlerSelector interface {
|
||||
Select([]string) []string
|
||||
}
|
||||
|
||||
// Manager is a feature that manages outbound.Handlers.
|
||||
type Manager interface {
|
||||
features.Feature
|
||||
|
||||
Reference in new issue
Block a user