Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserHandler ¶
func NewUserHandler(c *Config)
NewArticleHandler will initialize the articles/ resources endpoint func NewUserHandler(app *fiber.App, us domain.UserUseCase) {
Types ¶
type Config ¶
type Config struct { F *fiber.App UserUseCase domain.UserUseCase TokenUseCase domain.TokenUseCase BaseURL string TimeoutDuration time.Duration MaxBodyBytes int64 }
type Handler ¶
type Handler struct { UserUseCase domain.UserUseCase TokenUseCase domain.TokenUseCase }
ArticleHandler represent the httphandler for article
type ResponseError ¶
type ResponseError struct {
Message string `json:"message"`
}
ResponseError represent the reseponse error struct
Click to show internal directories.
Click to hide internal directories.