Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRouter ¶
func SetupRouter(serviceRepository service.Repository, logger *zap.SugaredLogger) *gin.Engine
SetupRouter sets up the Gin router
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a controller for /service endpoints
func NewService ¶
func NewService(serviceRepository service.Repository) Service
NewService instantiates a Service controller
Click to show internal directories.
Click to hide internal directories.