prototype for balancing rules

This commit is contained in:
Darien Raymond committed 2018-11-07 21:08:20 +01:00
1 parent 874fc87498
commit 73d3be424b
8 files changed
+363 -70

No files matched your search

+4
View File
@@ -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