Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct {
Model *AuthModel
}
func GetService ¶
func GetService() *AuthService
func (*AuthService) AuthorizeToken ¶
func (s *AuthService) AuthorizeToken(user_token string) (user_id *int, err error)
func (*AuthService) DeAuthorizeToken ¶
func (s *AuthService) DeAuthorizeToken(user_id int) (user_token *string, err error)
func (*AuthService) InitService ¶
func (s *AuthService) InitService() *AuthService
Click to show internal directories.
Click to hide internal directories.