blob: cada8fa987fcae09934d638da80812a5335644aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Package bind allows binding to a specific interface instead of bind to all of them.
package bind
import (
"github.com/coredns/coredns/plugin"
)
func init() { plugin.Register("bind", setup) }
type bind struct {
Next plugin.Handler
addrs []string
except []string
}
// Name implements plugin.Handler.
func (b *bind) Name() string { return "bind" }
|