Skip to content

modcloth/auth

 
 

Repository files navigation

auth wercker status

Martini middleware/handler for http basic authentication.

API Reference

Usage

import (
  "github.com/go-martini/martini"
  "github.com/martini-contrib/auth"
)

func main() {
  m := martini.Classic()
  // authenticate every request
  m.Use(auth.Basic("username", "secretpassword"))
  m.Run()
}

Authors

About

Martini handlers for authentication.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%