Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Upstream ¶
type Upstream struct { // EndPoint is the DoH server URL. EndPoint string // Client is a http.Client that sends http requests. Client *http.Client // AddOnCloser will be closed when Upstream is closed. AddOnCloser io.Closer }
Upstream is a DNS-over-HTTPS (RFC 8484) upstream.
func (*Upstream) CloseIdleConnections ¶
func (u *Upstream) CloseIdleConnections()
Click to show internal directories.
Click to hide internal directories.