HTTP/TLS hostname multiplexing library for Go
Go-vhost is a simple library that lets you implement virtual hosting functionality for different protocols (HTTP and TLS so far). Go-vhost has a high-level and a low-level interface. The high-level interface lets you wrap existing net.Listeners with "muxer" objects. You can then Listen() on a muxer for a particular virtual host name of interest which will return to you a net.Listener for just connections with the virtual hostname of interest. The lower-level Go-vhost interface are just functions which extract the name/routing information for the given protocol and return an object implementing net.Conn which works as if no bytes had been consumed. This package contains the source code needed for building packages that reference the following Go import paths: – github.com/inconshreveable/go-vhost
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0-0.11.20190629git06d8411.fc35 | - |
Fedora 35 | 0-0.11.20190629git06d8411.fc35 | - |
Fedora 34 | 0-0.10.20190629git06d8411.fc34 | - |
You can contact the maintainers of this package via email at
golang-github-inconshreveable-vhost dash maintainers at fedoraproject dot org
.