Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
RegisterRoutes registers the routes for the key module
Types ¶
type User ¶
type User struct {
Username string `json:"username"`
Password string `json:"password"`
First string `json:"first"`
Last string `json:"last"`
}
Simple User type
func (User) GetUsername ¶
GetUsername returns the user's username This method MUST be implemented for JWT authentication to work
Click to show internal directories.
Click to hide internal directories.