Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TokenDataS ¶
type TokenDataS struct {
// contains filtered or unexported fields
}
func (*TokenDataS) CreateToken ¶
func (tokenData *TokenDataS) CreateToken(userId string) (string, error)
func (*TokenDataS) Init ¶
func (tokenData *TokenDataS) Init() error
func (*TokenDataS) ValidateToken ¶
func (tokenData *TokenDataS) ValidateToken(token string, username string) (int, error)
type UserDataS ¶
type UserDataS struct {
// contains filtered or unexported fields
}
func (*UserDataS) DeleteUser ¶
Click to show internal directories.
Click to hide internal directories.