Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAllMenuMaps ¶ added in v0.4.8
func NewUserMustAuth ¶
func NewUserMustAuth(module string) *userMustAuth
func NotifyIPItemsCountChanges ¶ added in v0.5.2
func NotifyIPItemsCountChanges()
func NotifyNodeLogsCountChange ¶ added in v0.5.2
func NotifyNodeLogsCountChange()
Types ¶
type UserShouldAuth ¶
type UserShouldAuth struct {
// contains filtered or unexported fields
}
func (*UserShouldAuth) AdminId ¶
func (this *UserShouldAuth) AdminId() int
func (*UserShouldAuth) BeforeAction ¶
func (this *UserShouldAuth) BeforeAction(actionPtr actions.ActionWrapper, paramName string) (goNext bool)
func (*UserShouldAuth) IsUser ¶
func (this *UserShouldAuth) IsUser() bool
func (*UserShouldAuth) Logout ¶
func (this *UserShouldAuth) Logout()
func (*UserShouldAuth) StoreAdmin ¶
func (this *UserShouldAuth) StoreAdmin(adminId int64, remember bool)
StoreAdmin 存储用户名到SESSION
Click to show internal directories.
Click to hide internal directories.