1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-11 06:40:40 +00:00

update the comments fix #658

This commit is contained in:
astaxie
2014-06-25 10:39:37 +08:00
parent 9c5348f690
commit 0f170a80da
136 changed files with 610 additions and 45 deletions

View File

@ -1,7 +1,11 @@
// Beego (http://beego.me/)
// @description beego is an open-source, high-performance web framework for the Go programming language.
// @link http://github.com/astaxie/beego for the canonical source repository
// @license http://github.com/astaxie/beego/blob/master/LICENSE
// @authors astaxie
package auth
@ -14,7 +18,7 @@ package auth
// return false
// }
// authPlugin := auth.NewBasicAuthenticator(SecretAuth, "My Realm")
// beego.AddFilter("*","AfterStatic",authPlugin)
// beego.InsertFilter("*", beego.BeforeRouter,authPlugin)
import (
"encoding/base64"