Update docs for formatting in godoc.
This commit is contained in:
parent
09fb539875
commit
8396dc2fdb
|
@ -13,7 +13,8 @@ import (
|
|||
"github.com/miekg/dns"
|
||||
)
|
||||
|
||||
// Server is the main way to start a DNS server
|
||||
// Server is the main way to start a DNS server.
|
||||
//
|
||||
// Example:
|
||||
// s := dnsforward.Server{}
|
||||
// err := s.Start(nil) // will start a DNS server listening on default port 53, in a goroutine
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"github.com/joomcode/errorx"
|
||||
)
|
||||
|
||||
// upstream TLS pool.
|
||||
// Upstream TLS pool.
|
||||
//
|
||||
// Example:
|
||||
// pool := TLSPool{Address: "tls://1.1.1.1:853"}
|
||||
|
|
Loading…
Reference in New Issue