add mock close method to h2quic.Server

This commit is contained in:
Lucas Clemente
2016-05-31 14:13:03 +02:00
parent 33edcc5e88
commit ae778fc042

View File

@@ -142,6 +142,11 @@ func (s *Server) handleRequest(session streamCreator, headerStream utils.Stream,
return nil return nil
} }
func (s *Server) Close() error {
// TODO: implement
return nil
}
// ListenAndServeQUIC listens on the UDP network address addr and calls the // ListenAndServeQUIC listens on the UDP network address addr and calls the
// handler for HTTP/2 requests on incoming conections. http.DefaultServeMux is // handler for HTTP/2 requests on incoming conections. http.DefaultServeMux is
// used when handler is nil. // used when handler is nil.