client

package
v0.0.0-...-a52fea8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2014 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitFunc

func InitFunc(r wade.Registration)

func Notify

func Notify(title, text, messType string)

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 ErrorListModel

type ErrorListModel struct {
	wade.BaseProto
	Errors map[string]string
}

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{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL