How to Install golang-vhost-dev in Ubuntu 18.04



Install golang-vhost-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install golang-vhost-dev

Description:

Go library to implement virtual hosting for different protocols

This 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. The lower-level interface returns an object implementing net.Conn which works as if no bytes had been consumed.

Homepage: https://github.com/inconshreveable/go-vhost

Version: 0.0~git20140120-2

Section: universe/devel