Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeEngine ¶
func InitializeEngine(ctxManager cluster.ContextManager) (*gin.Engine, error)
InitializeEngine initializes the gin engine and sets up the routes. All routes (aside from routes.Health) are protected by authentication and authorization middleware. The engine is configured to use the cluster.ContextManager to assign the context to the request.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package client is a package that provides a client for making HTTP requests to the Ocular API.
|
Package client is a package that provides a client for making HTTP requests to the Ocular API. |
|
Package middleware provides middleware for the Ocular API.
|
Package middleware provides middleware for the Ocular API. |
|
Package routes (and sub-packages) provides the API routes for the Ocular application.
|
Package routes (and sub-packages) provides the API routes for the Ocular application. |
Click to show internal directories.
Click to hide internal directories.