Sophie

Sophie

distrib > Mageia > 9 > x86_64 > by-pkgid > 98281205a73c1b34c82a0e3b3d4622ff

golang-github-inconshreveable-vhost-devel-0-2.mga9.noarch.rpm

Description:

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

Sources packages:

Other version of this rpm: