Versions in this module Expand all Collapse all v0 v0.5.0 Apr 11, 2017 Changes in this version + func ListenAndServe(addr, certFile, keyFile string, handler http.Handler) error + func ListenAndServeQUIC(addr, certFile, keyFile string, handler http.Handler) error + type Client struct + func NewClient(t *QuicRoundTripper, tlsConfig *tls.Config, hostname string) *Client + func (c *Client) Close(e error) + func (c *Client) Dial() error + func (c *Client) Do(req *http.Request) (*http.Response, error) + type QuicRoundTripper struct + DisableCompression bool + TLSClientConfig *tls.Config + func (r *QuicRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) + type Server struct + CloseAfterFirstRequest bool + func (s *Server) Close() error + func (s *Server) CloseGracefully(timeout time.Duration) error + func (s *Server) ListenAndServe() error + func (s *Server) ListenAndServeTLS(certFile, keyFile string) error + func (s *Server) Serve(conn *net.UDPConn) error + func (s *Server) SetQuicHeaders(hdr http.Header) error