Documentation
¶
Index ¶
- type AuthHandler
- func (h *AuthHandler) DeleteUser(c *fiber.Ctx) error
- func (h *AuthHandler) GetUserInfo(c *fiber.Ctx) error
- func (h *AuthHandler) GetUsers(c *fiber.Ctx) error
- func (h *AuthHandler) Login(c *fiber.Ctx) error
- func (h *AuthHandler) ResetPassword(c *fiber.Ctx) error
- func (h *AuthHandler) SignUp(c *fiber.Ctx) error
- type FileHandler
- type TestContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶ added in v1.2.0
func NewAuthHandler ¶ added in v1.2.0
func NewAuthHandler(db *sql.DB, infoLogger, errorLogger *log.Logger) *AuthHandler
func (*AuthHandler) DeleteUser ¶ added in v1.3.0
func (h *AuthHandler) DeleteUser(c *fiber.Ctx) error
func (*AuthHandler) GetUserInfo ¶ added in v1.2.0
func (h *AuthHandler) GetUserInfo(c *fiber.Ctx) error
func (*AuthHandler) ResetPassword ¶ added in v1.2.0
func (h *AuthHandler) ResetPassword(c *fiber.Ctx) error
type FileHandler ¶ added in v1.2.0
func NewFileHandler ¶ added in v1.2.0
func NewFileHandler(database *sql.DB) *FileHandler
func (*FileHandler) DeleteFile ¶ added in v1.2.0
func (h *FileHandler) DeleteFile(c *fiber.Ctx) error
func (*FileHandler) DownloadFile ¶ added in v1.2.0
func (h *FileHandler) DownloadFile(c *fiber.Ctx) error
func (*FileHandler) UploadFile ¶ added in v1.2.0
func (h *FileHandler) UploadFile(c *fiber.Ctx) error
type TestContext ¶ added in v1.2.0
func SetupTestContext ¶ added in v1.2.0
func SetupTestContext(t *testing.T) *TestContext
Click to show internal directories.
Click to hide internal directories.