Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvaildToken = fmt.Errorf("invalid token") ErrNoTokenInRequest = fmt.Errorf("no token in request") )
Functions ¶
func GenerateToken ¶
func GetSessionIdFromToken ¶
GetSessionIdFromToken extracts sessionId from http.Request Auth header
Types ¶
Click to show internal directories.
Click to hide internal directories.