Documentation ¶
Index ¶
- type Server
- func (s *Server) ListenAndServeDNS(ctx context.Context, network string)
- func (s *Server) ListenAndServeDNSTLS(ctx context.Context)
- func (s *Server) ListenAndServeH3(ctx context.Context)
- func (s *Server) ListenAndServeHTTPTLS(ctx context.Context)
- func (s *Server) ListenAndServeQUIC(ctx context.Context)
- func (s *Server) Run(ctx context.Context)
- func (s *Server) ServeDNS(w dns.ResponseWriter, r *dns.Msg)
- func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (s *Server) Stopped() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server type
func (*Server) ListenAndServeDNS ¶
ListenAndServeDNS Starts a server on address and network specified Invoke handler for incoming queries.
func (*Server) ListenAndServeDNSTLS ¶
ListenAndServeDNSTLS acts like http.ListenAndServeTLS
func (*Server) ListenAndServeH3 ¶ added in v1.3.2
ListenAndServeH3
func (*Server) ListenAndServeHTTPTLS ¶
ListenAndServeHTTPTLS acts like http.ListenAndServeTLS
func (*Server) ListenAndServeQUIC ¶ added in v1.3.2
ListenAndServeQUIC
Click to show internal directories.
Click to hide internal directories.