Documentation
¶
Overview ¶
Package http defines the HTTP router interface and implementation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) RegisterModules ¶
func (r *Router) RegisterModules(v1Group *gin.RouterGroup, modules ...RouterRegister)
RegisterModules takes a slice of modules and lets them register themselves
type RouterRegister ¶
type RouterRegister interface {
Register(mw *middleware.Manager, router *gin.RouterGroup)
}
RouterRegister is the interface a module must implement
Directories
¶
| Path | Synopsis |
|---|---|
|
Package dto defines the Data Transfer Objects for the User entity.
|
Package dto defines the Data Transfer Objects for the User entity. |
|
Package handlers contains HTTP handlers for restaurant-related endpoints.
|
Package handlers contains HTTP handlers for restaurant-related endpoints. |
|
Package middleware provides middleware functions for handling HTTP requests in the application.
|
Package middleware provides middleware functions for handling HTTP requests in the application. |
Click to show internal directories.
Click to hide internal directories.