Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenUtils ¶
type TokenUtils interface { ParseJWT(t string) (string, error) GenerateJWT(userName string) (string, error) }
TokenUtils interface. JWT-related utility methods.
func CreateTokenUtils ¶
func CreateTokenUtils(logger *zap.SugaredLogger) TokenUtils
CreateTokenUtils instantiates the tokenUtils implementation.
Click to show internal directories.
Click to hide internal directories.