Documentation ¶
Index ¶
- func LoginEndpoint(h users.LoginHandler) http.Handler
- func LogoutEndpoint(h users.LogoutHandler) http.Handler
- func MethodMiddleware(m string, next http.Handler) http.Handler
- func NewBcryptPasswordEncoder(cost int) users.PasswordEncoder
- func RegistrationEndpoint(h users.RegistrationHandler) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoginEndpoint ¶
func LoginEndpoint(h users.LoginHandler) http.Handler
func LogoutEndpoint ¶
func LogoutEndpoint(h users.LogoutHandler) http.Handler
func NewBcryptPasswordEncoder ¶
func NewBcryptPasswordEncoder(cost int) users.PasswordEncoder
func RegistrationEndpoint ¶
func RegistrationEndpoint(h users.RegistrationHandler) http.Handler
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.