How to Install and Uninstall golang-github-gorilla-handlers-dev Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: November 07,2024
1. Install "golang-github-gorilla-handlers-dev" package
This guide covers the steps necessary to install golang-github-gorilla-handlers-dev on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
golang-github-gorilla-handlers-dev
Copied
2. Uninstall "golang-github-gorilla-handlers-dev" package
Please follow the guidance below to uninstall golang-github-gorilla-handlers-dev on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
golang-github-gorilla-handlers-dev
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the golang-github-gorilla-handlers-dev package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: golang-github-gorilla-handlers-dev
Priority: extra
Section: universe/devel
Installed-Size: 81
Maintainer: Ubuntu Developers
Original-Maintainer: pkg-go
Architecture: all
Source: golang-github-gorilla-handlers
Version: 0.0~git20160115.0.8f27580-0ubuntu1
Depends: golang-go
Filename: pool/universe/g/golang-github-gorilla-handlers/golang-github-gorilla-handlers-dev_0.0~git20160115.0.8f27580-0ubuntu1_all.deb
Size: 16158
MD5sum: 998e5166f7a933f88b91657fb881d964
SHA1: f6d96ea14a2bb288703241510c6557906bd81b86
SHA256: efe551b6e1920f1bc7b6b65e4a9d6cd4634fd48e75d759140411e7c14ebff9d4
Description-en: a collection of useful handlers for Go's net/http package
Package handlers is a collection of handlers (aka "HTTP middleware") for use
with Go's net/http package (or any framework supporting http.Handler),
including:
.
• LoggingHandler for logging HTTP requests in the Apache Common Log Format
(http://httpd.apache.org/docs/2.2/logs.html#common).
• CombinedLoggingHandler for logging HTTP requests in the Apache Combined Log
Format (http://httpd.apache.org/docs/2.2/logs.html#combined) commonly used
by both Apache and nginx.
• CompressHandler for gzipping responses.
• ContentTypeHandler for validating requests against a list of accepted
content types.
• MethodHandler for matching HTTP methods against handlers in a
map[string]http.Handler
• ProxyHeaders for populating r.RemoteAddr and r.URL.Scheme based on the
X-Forwarded-For, X-Real-IP, X-Forwarded-Proto and RFC7239 Forwarded headers
when running a Go server behind a HTTP reverse proxy.
• CanonicalHost for re-directing to the preferred host when handling multiple
domains (i.e. multiple CNAME aliases).
.
Other handlers are documented on the Gorilla website
(http://www.gorillatoolkit.org/pkg/handlers).
Description-md5: 21a6943c6d0eed3f76a5cea06b6c02d4
Built-Using: golang (= 2:1.6~beta2-0ubuntu1)
Homepage: https://github.com/gorilla/handlers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: extra
Section: universe/devel
Installed-Size: 81
Maintainer: Ubuntu Developers
Original-Maintainer: pkg-go
Architecture: all
Source: golang-github-gorilla-handlers
Version: 0.0~git20160115.0.8f27580-0ubuntu1
Depends: golang-go
Filename: pool/universe/g/golang-github-gorilla-handlers/golang-github-gorilla-handlers-dev_0.0~git20160115.0.8f27580-0ubuntu1_all.deb
Size: 16158
MD5sum: 998e5166f7a933f88b91657fb881d964
SHA1: f6d96ea14a2bb288703241510c6557906bd81b86
SHA256: efe551b6e1920f1bc7b6b65e4a9d6cd4634fd48e75d759140411e7c14ebff9d4
Description-en: a collection of useful handlers for Go's net/http package
Package handlers is a collection of handlers (aka "HTTP middleware") for use
with Go's net/http package (or any framework supporting http.Handler),
including:
.
• LoggingHandler for logging HTTP requests in the Apache Common Log Format
(http://httpd.apache.org/docs/2.2/logs.html#common).
• CombinedLoggingHandler for logging HTTP requests in the Apache Combined Log
Format (http://httpd.apache.org/docs/2.2/logs.html#combined) commonly used
by both Apache and nginx.
• CompressHandler for gzipping responses.
• ContentTypeHandler for validating requests against a list of accepted
content types.
• MethodHandler for matching HTTP methods against handlers in a
map[string]http.Handler
• ProxyHeaders for populating r.RemoteAddr and r.URL.Scheme based on the
X-Forwarded-For, X-Real-IP, X-Forwarded-Proto and RFC7239 Forwarded headers
when running a Go server behind a HTTP reverse proxy.
• CanonicalHost for re-directing to the preferred host when handling multiple
domains (i.e. multiple CNAME aliases).
.
Other handlers are documented on the Gorilla website
(http://www.gorillatoolkit.org/pkg/handlers).
Description-md5: 21a6943c6d0eed3f76a5cea06b6c02d4
Built-Using: golang (= 2:1.6~beta2-0ubuntu1)
Homepage: https://github.com/gorilla/handlers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu