mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-07 04:20:12 +02:00
18 lines
252 B
Go
18 lines
252 B
Go
package dns
|
|
|
|
import (
|
|
"context"
|
|
"net/netip"
|
|
)
|
|
|
|
type Logger interface {
|
|
Debug(s string)
|
|
Info(s string)
|
|
Warn(s string)
|
|
Error(s string)
|
|
}
|
|
|
|
type Firewall interface {
|
|
RestrictOutputAddrPort(ctx context.Context, addrPort netip.AddrPort) (err error)
|
|
}
|