Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler( userInserter userInserter, userGetter userGetter, authorizer authorizer, googleConfig googleAuthorizer, clientURL string, ) AuthHandler
func (AuthHandler) GoogleCallback ¶
func (a AuthHandler) GoogleCallback(c fiber.Ctx) error
func (AuthHandler) GoogleSignIn ¶
func (a AuthHandler) GoogleSignIn(c fiber.Ctx) error
func (AuthHandler) SignIn ¶
func (a AuthHandler) SignIn(c fiber.Ctx) error
func (AuthHandler) SignUp ¶
func (a AuthHandler) SignUp(c fiber.Ctx) error
func (AuthHandler) Verify ¶
func (a AuthHandler) Verify(c fiber.Ctx) error
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler(userGetterByLogin userGetterByLogin) UserHandler
func (UserHandler) GetUser ¶
func (h UserHandler) GetUser(c fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.