https://github.com/smallnest/quick
an encrypted UDP connection between two peers using QUIC
https://github.com/smallnest/quick
Last synced: 10 months ago
JSON representation
an encrypted UDP connection between two peers using QUIC
- Host: GitHub
- URL: https://github.com/smallnest/quick
- Owner: smallnest
- License: mit
- Created: 2020-04-30T11:05:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T08:50:01.000Z (over 1 year ago)
- Last Synced: 2025-03-19T06:43:04.616Z (10 months ago)
- Language: Go
- Homepage:
- Size: 59.6 KB
- Stars: 27
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# a net.Conn compatible lib via QUIC
The initial code is cloned from [quic-conn](https://github.com/marten-seemann/quic-conn), but I refactored and updated codes to keepcompatible with latest https://github.com/lucas-clemente/quic-go.
## Run the example
Start listening for an incoming QUIC connection
```go
go run example/main.go -s
```
The server will echo every message received on the connection in uppercase.
Send a message on the QUIC connection:
```go
go run example/main.go -c
```