Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateToken ¶
func GenerateToken(userName, accountName, access string, expiry time.Time, secretKey string) (string, error)
GenerateToken generates a token with the given username, accountname, access and expiry expiry string shoud be in RFC3339[ example: 2023-09-16T23:03:52+05:30 ] format
func StartServer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.