www/go-mux - The NetBSD Packages Collection

URL router and dispatcher for Go

Go-mux implements a request router and dispatcher for matching
incoming requests to their respective handler.

The name mux stands for "HTTP request multiplexer". Like the standard
http.ServeMux, mux.Router matches incoming requests against a list of
registered routes and calls a handler for the route that matches the
URL or other conditions. The main features are:

It implements the http.Handler interface so it is compatible with the
standard http.ServeMux.
Requests can be matched based on URL host, path, path prefix, schemes,
header and query values, HTTP methods or using custom matchers.
URL hosts, paths and query values can have variables with an optional
regular expression.
Registered URLs can be built, or "reversed", which helps maintaining
references to resources.
Routes can be used as subrouters: nested routes are only tested if the
parent route matches. This is useful to define groups of routes that
share common conditions like a host, a path prefix or other repeated
attributes. As a bonus, this optimizes request matching.

Build dependencies

lang/go115 pkgtools/cwrappers

Runtime dependencies

(none)

Available binary packages

aarch64:go-mux-1.7.3nb9.tgz(NetBSD 9.0)
aarch64:go-mux-1.7.3nb12.tgz(NetBSD 9.0)
earmv7hf:go-mux-1.7.3nb12.tgz(NetBSD 8.0)
earmv7hf:go-mux-1.7.3nb4.tgz(NetBSD 8.0)
earmv7hf:go-mux-1.7.3nb6.tgz(NetBSD 8.0)
earmv7hf:go-mux-1.7.3nb9.tgz(NetBSD 8.0)
earmv7hf:go-mux-1.7.3nb12.tgz(NetBSD 9.0)
earmv7hf:go-mux-1.7.3nb4.tgz(NetBSD 9.0)
earmv7hf:go-mux-1.7.3nb6.tgz(NetBSD 9.0)
earmv7hf:go-mux-1.7.3nb9.tgz(NetBSD 9.0)
i386:go-mux-1.7.3nb6.tgz(NetBSD 8.0)
i386:go-mux-1.7.3nb9.tgz(NetBSD 8.0)
i386:go-mux-1.7.3nb12.tgz(NetBSD 8.0)
i386:go-mux-1.7.3nb6.tgz(NetBSD 9.0)
i386:go-mux-1.7.3nb9.tgz(NetBSD 9.0)
i386:go-mux-1.7.3nb12.tgz(NetBSD 9.0)
x86_64:go-mux-1.7.3nb12.tgz(NetBSD 9.0)
x86_64:go-mux-1.7.3nb12.tgz(NetBSD 9.0)
x86_64:go-mux-1.7.3nb13.tgz(NetBSD 9.0)
x86_64:go-mux-1.7.3nb9.tgz(NetBSD 9.0)
x86_64:go-mux-1.7.3nb9.tgz(NetBSD 8.0)
x86_64:go-mux-1.7.3nb6.tgz(NetBSD 8.0)
x86_64:go-mux-1.7.3nb6.tgz(NetBSD 9.0)
x86_64:go-mux-1.7.3nb9.tgz(NetBSD 9.0)
x86_64:go-mux-1.7.3nb12.tgz(NetBSD 9.0)
x86_64:go-mux-1.7.3nb13.tgz(NetBSD 9.0)

Binary packages can be installed with pkgin or pkg_add(1). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.


[ Go up one level | Go to top of packages tree | List all packages ]