A demo app server written in golang that implements cookie session based authentication.
An example of session based authentication in Go
token based authentication middleware for net/http
Buffalo token-based-authentication middleware
Cookie-based Basic-Authentication HTTP middleware for Go (golang)