Documentation ¶
Index ¶
- func CreateChatToken(userId string, ttlDay int64, accessSecret string) (string, error)
- func CreateToken(UserID string, ttlDay int64, accessSecret string) (string, error)
- func GetChatToken(token string, accessSecret string) (string, error)
- func GetUserIDFromToken(tokensString string, accessSecret string) (string, error)
- type Claims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateChatToken ¶
func CreateToken ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.