Permalink
Browse files

Readme

  • Loading branch information...
1 parent 4fc4733 commit c249bc897941cc791c6f4a063cbe095226e6e934 @tobi tobi committed Sep 17, 2012
Showing with 10 additions and 1 deletion.
  1. +9 −0 README.md
  2. +1 −1 google_apps.go
View
@@ -0,0 +1,9 @@
+# GoogleAppsHandler "middleware".
+
+Wraps the passed HandlerFunc with google apps authentication
+
+Example:
+
+ import "github.com/shopify/google_apps"
+
+ http.HandleFunc("/", google_app.ProtectionHandler("shopify.com", YourOwnHttpHandler))
View
@@ -1,4 +1,4 @@
-package google_app
+package google_apps
import (
"code.google.com/p/gorilla/sessions"

0 comments on commit c249bc8

Please sign in to comment.