Api represents the API structure for handling requests.
| 30 | |
| 31 | // Api represents the API structure for handling requests. |
| 32 | type Api struct { |
| 33 | ledgerforge *ledgerforge.LedgerForge |
| 34 | router *gin.Engine |
| 35 | auth *middleware.AuthMiddleware |
| 36 | } |
| 37 | |
| 38 | // Router sets up the routes for the API and returns the router instance. |
| 39 | // |
nothing calls this directly
no outgoing calls
no test coverage detected