Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
Quiet bool // Quiet startup.
// contains filtered or unexported fields
}
func (*Server) Addr ¶
When a server is started on the wildcard port, this method can be used to get the actual address and listening port. Note that with a wildcard port the servers will all run on a different port. For all returned address the first half are the UDP listening port, the other half is TCP. See [HttpAddr] for getting the addresss of the DOH server.
Click to show internal directories.
Click to hide internal directories.