Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidCredentials = errors.New("invalid credentials") ErrNotFound = errors.New("user not found") )
Functions ¶
This section is empty.
Types ¶
type AdvertisingHandler ¶
type AdvertisingHandler struct {
// contains filtered or unexported fields
}
func NewAdvertisingHandler ¶
func NewAdvertisingHandler(service services.AdvertisingService) *AdvertisingHandler
func (*AdvertisingHandler) Create ¶
func (a *AdvertisingHandler) Create(c *fiber.Ctx) error
func (*AdvertisingHandler) GetByQuery ¶
func (a *AdvertisingHandler) GetByQuery(c *fiber.Ctx) error
type PostHandler ¶
type PostHandler struct {
// contains filtered or unexported fields
}
func NewPostHandler ¶
func NewPostHandler(service services.PostService) *PostHandler
func (*PostHandler) Get ¶
func (p *PostHandler) Get(c *fiber.Ctx) error
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler(service services.AuthService) *UserHandler
func (*UserHandler) Login ¶
func (u *UserHandler) Login(c *fiber.Ctx) error
func (*UserHandler) Register ¶
func (u *UserHandler) Register(c *fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.