mirror of
https://github.com/qdm12/gluetun.git
synced 2025-12-10 10:45:38 -06:00
16 lines
390 B
Go
16 lines
390 B
Go
package dns
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/qdm12/dns/pkg/unbound"
|
|
)
|
|
|
|
type Configurator interface {
|
|
SetupFiles(ctx context.Context) error
|
|
MakeUnboundConf(settings unbound.Settings) (err error)
|
|
Start(ctx context.Context, verbosityDetailsLevel uint8) (
|
|
stdoutLines, stderrLines chan string, waitError chan error, err error)
|
|
Version(ctx context.Context) (version string, err error)
|
|
}
|