Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserMustAuth ¶
认证拦截
func (*UserMustAuth) BeforeAction ¶
func (this *UserMustAuth) BeforeAction(actionPtr actions.ActionWrapper, paramName string) (goNext bool)
type UserShouldAuth ¶
type UserShouldAuth struct {
// contains filtered or unexported fields
}
func (*UserShouldAuth) BeforeAction ¶
func (this *UserShouldAuth) BeforeAction(actionPtr actions.ActionWrapper, paramName string) (goNext bool)
func (*UserShouldAuth) Logout ¶
func (this *UserShouldAuth) Logout()
func (*UserShouldAuth) StoreUsername ¶
func (this *UserShouldAuth) StoreUsername(username string, remember bool)
存储用户名到SESSION
Click to show internal directories.
Click to hide internal directories.