mirror of
https://github.com/coredns/coredns.git
synced 2025-11-02 18:23:25 -05:00
@@ -6,6 +6,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
clog "github.com/coredns/coredns/pkg/log"
|
||||
"github.com/coredns/coredns/plugin"
|
||||
"github.com/coredns/coredns/plugin/pkg/response"
|
||||
"github.com/coredns/coredns/request"
|
||||
@@ -13,6 +14,8 @@ import (
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
|
||||
var log = clog.NewWithPlugin("traffic")
|
||||
|
||||
// Traffic is a plugin that load balances according to assignments.
|
||||
type Traffic struct {
|
||||
assignments map[string]assignment // zone -> assignment
|
||||
|
||||
Reference in New Issue
Block a user