Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateJwt ¶
func CreateJwt(w http.ResponseWriter, r *http.Request, creds Credentials)
createJwt creates a jwt token for a valid user
Types ¶
type Credentials ¶
Credentials stores user provided username and password
Click to show internal directories.
Click to hide internal directories.