Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller definition.
func NewController ¶
func NewController(repository *Repository, processor processor.ProcessorFunc, logger *zap.Logger) *Controller
NewController creates a Controller instance.
func (*Controller) Parse ¶
func (c *Controller) Parse(ctx *fiber.Ctx) error
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(db *mongo.Database, logger *zap.Logger) *Repository
NewRepository create a new Repository.
Click to show internal directories.
Click to hide internal directories.