Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitFunc ¶
func InitFunc(r wade.Registration)
Types ¶
type AuthModule ¶
type AuthModule struct {
Authenticated bool
// contains filtered or unexported fields
}
func NewAuthModule ¶
func NewAuthModule(loginPage, checkurl string) *AuthModule
func (*AuthModule) CheckAuthPage ¶
func (s *AuthModule) CheckAuthPage(pc wade.ThisPage) interface{}
func (*AuthModule) Init ¶
func (s *AuthModule) Init(services wade.GlobalServices)
type LoginModel ¶
type LoginModel struct {
utils.Validated
Data model.UsernamePassword
// contains filtered or unexported fields
}
func (*LoginModel) Submit ¶
func (r *LoginModel) Submit()
type UserModule ¶
type UserModule struct {
// contains filtered or unexported fields
}
func NewUserModule ¶
func NewUserModule(authModule *AuthModule, redirectPage string) *UserModule
func (*UserModule) LoginPage ¶
func (um *UserModule) LoginPage(p wade.ThisPage) interface{}
Click to show internal directories.
Click to hide internal directories.