在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:lucas-clemente/quic-go开源软件地址:https://github.com/lucas-clemente/quic-go开源编程语言:Go 99.7%开源软件介绍:A QUIC implementation in pure Goquic-go is an implementation of the QUIC protocol, RFC 9000 protocol in Go, including the Unreliable Datagram Extension, RFC 9221. In addition to RFC 9000, it currently implements the IETF QUIC draft-29. Support for draft-29 will eventually be dropped, as it is phased out of the ecosystem. GuidesWe currently support Go 1.16.x, Go 1.17.x, and Go 1.18.x. Running tests:
QUIC without HTTP/3Take a look at this echo example. UsageAs a serverSee the example server. Starting a QUIC server is very similar to the standard lib http in go: http.Handle("/", http.FileServer(http.Dir(wwwDir)))
http3.ListenAndServeQUIC("localhost:4242", "/path/to/cert/chain.pem", "/path/to/privkey.pem", nil) As a clientSee the example client. Use a http.Client{
Transport: &http3.RoundTripper{},
} Projects using quic-go
ContributingWe are always happy to welcome new contributors! We have a number of self-contained issues that are suitable for first-time contributors, they are tagged with help wanted. If you have any questions, please feel free to reach out by opening an issue or leaving a comment. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论