Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeHandler ¶
func InitializeHandler()
Types ¶
type HandlerFunc ¶
type HandlerFunc interface { AuthenticateUser(credentials datatransfers.UserLogin) (token string, err error) RegisterUser(credentials datatransfers.UserSignup) (err error) RetrieveUser(username string) (user models.User, err error) UpdateUser(id uint, user datatransfers.UserUpdate) (err error) }
var Handler HandlerFunc
Click to show internal directories.
Click to hide internal directories.