MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / Api

Struct Api

api/api.go:32–36  ·  view source on GitHub ↗

Api represents the API structure for handling requests.

Source from the content-addressed store, hash-verified

30
31// Api represents the API structure for handling requests.
32type 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//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected