Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fiorix/go-listener

TCP listener on roids
https://github.com/fiorix/go-listener

Last synced: 2 months ago
JSON representation

TCP listener on roids

Awesome Lists containing this project

README

        

# TCP listener for Go

[![Build Status](https://secure.travis-ci.org/fiorix/go-listener.png)](http://travis-ci.org/fiorix/go-listener)
[![GoDoc](https://godoc.org/github.com/fiorix/go-listener?status.svg)](https://godoc.org/github.com/fiorix/go-listener)

This is an implementation of the [net.Listener](https://golang.org/pkg/net/#Listener) interface for Go with support for:

* TCP fast open [RFC 7413](https://tools.ietf.org/html/rfc7413)
* TLS configuration with optional client authentication
* Optional HTTP/2 over TLS to use with net/http#Server
* Automatic TLS configuration using [letsencrypt.org](https://letsencrypt.org)
* Command line configuration via environment variables, using [envconfig](https://github.com/kelseyhightower/envconfig)
* Command line configuration via flags, which also work for [cobra](https://github.com/spf13/cobra)