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:
@ -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"
|
||||
|
Reference in New Issue
Block a user