Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marten-seemann/quic-conn
a single-stream encrypted connection between two peers using QUIC
https://github.com/marten-seemann/quic-conn
quic
Last synced: 19 days ago
JSON representation
a single-stream encrypted connection between two peers using QUIC
- Host: GitHub
- URL: https://github.com/marten-seemann/quic-conn
- Owner: marten-seemann
- License: mit
- Created: 2017-02-06T09:31:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-05-28T06:32:59.000Z (over 2 years ago)
- Last Synced: 2024-12-05T14:05:59.589Z (about 1 month ago)
- Topics: quic
- Language: Go
- Homepage:
- Size: 62.5 KB
- Stars: 75
- Watchers: 10
- Forks: 15
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# A QUIC Connection
[![Godoc Reference](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://godoc.org/github.com/marten-seemann/quic-conn)
[![Linux Build Status](https://img.shields.io/travis/marten-seemann/quic-conn/master.svg?style=flat-square&label=linux+build)](https://travis-ci.org/marten-seemann/quic-conn)
[![Code Coverage](https://img.shields.io/codecov/c/github/marten-seemann/quic-conn/master.svg?style=flat-square)](https://codecov.io/gh/marten-seemann/quic-conn/)At the moment, this project is intended to figure out the right API exposed by the [quic package in quic-go](https://github.com/lucas-clemente/quic-go).
When fully implemented, a QUIC connection can be used as a replacement for an encrypted TCP connection. It provides a single ordered byte-stream abstraction, with the main benefit of being able to perform connection migration.
## Usage of 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
```