Documentation ¶
Index ¶
- type GAEUserManager
- func (m *GAEUserManager) AddUser(email, pwd string, app bool) (*auth.User, error)
- func (m *GAEUserManager) AddUserDetail(user *auth.User) (*auth.User, error)
- func (m *GAEUserManager) Can(user *auth.User, do string) bool
- func (m *GAEUserManager) Close() error
- func (m *GAEUserManager) DeleteUser(id interface{}) error
- func (m *GAEUserManager) FindAllUser(offsetId interface{}, limit int) ([]*auth.User, error)
- func (m *GAEUserManager) FindAllUserOnline(offsetId interface{}, limit int) ([]*auth.User, error)
- func (m *GAEUserManager) FindUser(id interface{}) (*auth.User, error)
- func (m *GAEUserManager) FindUserByEmail(email string) (*auth.User, error)
- func (m *GAEUserManager) GetUser(token string) (*auth.User, error)
- func (m *GAEUserManager) GroupManager() auth.GroupManager
- func (m *GAEUserManager) Login(id interface{}, stay time.Duration) (string, error)
- func (m *GAEUserManager) Logout(token string) error
- func (m *GAEUserManager) UpdateUserDetail(user *auth.User) error
- func (m *GAEUserManager) ValidateUser(email, pwd string) (*auth.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GAEUserManager ¶
type GAEUserManager struct { Formater auth.FormatChecker // contains filtered or unexported fields }
func (*GAEUserManager) AddUserDetail ¶
func (*GAEUserManager) Close ¶
func (m *GAEUserManager) Close() error
func (*GAEUserManager) DeleteUser ¶
func (m *GAEUserManager) DeleteUser(id interface{}) error
func (*GAEUserManager) FindAllUser ¶
func (m *GAEUserManager) FindAllUser(offsetId interface{}, limit int) ([]*auth.User, error)
func (*GAEUserManager) FindAllUserOnline ¶
func (m *GAEUserManager) FindAllUserOnline(offsetId interface{}, limit int) ([]*auth.User, error)
func (*GAEUserManager) FindUser ¶
func (m *GAEUserManager) FindUser(id interface{}) (*auth.User, error)
func (*GAEUserManager) FindUserByEmail ¶
func (m *GAEUserManager) FindUserByEmail(email string) (*auth.User, error)
func (*GAEUserManager) GroupManager ¶
func (m *GAEUserManager) GroupManager() auth.GroupManager
func (*GAEUserManager) Login ¶
func (m *GAEUserManager) Login(id interface{}, stay time.Duration) (string, error)
func (*GAEUserManager) Logout ¶
func (m *GAEUserManager) Logout(token string) error
func (*GAEUserManager) UpdateUserDetail ¶
func (m *GAEUserManager) UpdateUserDetail(user *auth.User) error
func (*GAEUserManager) ValidateUser ¶
func (m *GAEUserManager) ValidateUser(email, pwd string) (*auth.User, error)
Click to show internal directories.
Click to hide internal directories.