Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationAPI ¶
type AuthenticationAPI struct {
// contains filtered or unexported fields
}
AuthenticationAPI is used to authenticate users
func New ¶
func New(users userAuthentication) *AuthenticationAPI
New creates a new AuthenticationApi
func (*AuthenticationAPI) RegisterToRouter ¶
func (u *AuthenticationAPI) RegisterToRouter(router *mux.Router)
RegisterToRouter adds the API routes to the given router
Click to show internal directories.
Click to hide internal directories.