Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Instantiate ¶
Types ¶
type Project ¶
type Project[T Service] struct { // App contains the referenced Fiber framework app instance attached to the project. App *fiber.App // contains filtered or unexported fields }
Project contains elements, functions and references attached to a project.
type Service ¶
type Service interface {
// Attach attaches the service to execute | expose.
Attach(*fiber.App, *log.Logger, *validator.Validate) (func(), error)
// Config returns the configuration of a service.
Config() any
// Description returns the description of a service.
Description() string
// Name returns the name of a service.
Name() string
// Validator returns the validator of a service.
Validator() *validator.Validate
}
Service contains functions references attached to a service.
Click to show internal directories.
Click to hide internal directories.