What is Gorilla web toolkit?

A helpful toolkit for the Go programming language that provides useful, composable packages for writing HTTP-based applications.

Packages

gorilla/mux

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

gorilla/reverse

provides interfaces to match and extract variables from an HTTP request and build URLs for registered routes.

gorilla/rpc

is a foundation for RPC over HTTP services, providing access to the exported methods of an object through HTTP requests.

gorilla/schema

converts structs to and from form values.

gorilla/securecookie

encodes and decodes authenticated and optionally encrypted cookie values.

gorilla/sessions

provides cookie and filesystem sessions and infrastructure for custom session backends.

gorilla/websocket

provides a complete and tested implementation of the WebSocket protocol.

gorilla/csrf

is an HTTP middleware library that provides cross-site request forgery (CSRF) protection.

gorilla/handlers

is a collection of handlers (aka "HTTP middleware") for use with Go's net/http package

gorilla/pat

is a request router and dispatcher with a pat-like interface (alternative to gorilla/mux)

Installation

Run "go get" pointing to a package. For example, to install gorilla/mux:

$ go get github.com/gorilla/mux

Or clone a repository and use the source code directly:

$ git clone https://github.com/gorilla/mux.git

Community

Slack

Participate in near real-time conversations with other Gorilla web toolkit community members. Ask questions, get answers, build relationships.

GitHub Discussions

Join in-depth discussions about the Gorilla web toolkit, propose new features, debate to your hearts content, and help shape our future!

Mailing List

Do you love your email client and want to spend more time using it? Then this is the place for you! Ask questions and get announcements all from the safety of your inbox.

License

Gorilla is licensed under The 3-Clause BSD License.