Back to godoc.org
github.com/Comcast/DNS-over-HTTPs-translator

Package translator

v0.0.0-...-8579977
Latest Go to latest

The highest tagged major version is .

Published: Feb 26, 2020 | License: Apache-2.0 | Module: github.com/Comcast/DNS-over-HTTPs-translator

Index

type Config

type Config interface {
	Resolver() string
	Listen() string
	Logger() (logger *zap.Logger, err error)
}

type Controller

type Controller interface {
	Start(ctx context.Context) (err error)
	Proxy() Proxy
}

type Proxy

type Proxy interface {
	Start(ctx context.Context) (err error)
	Stop() (err error)
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier