MCPcopy Create free account
hub / github.com/Creatly/creatly-backend / initAPI

Method initAPI

internal/delivery/http/handler.go:60–66  ·  view source on GitHub ↗
(router *gin.Engine)

Source from the content-addressed store, hash-verified

58}
59
60func (h *Handler) initAPI(router *gin.Engine) {
61 handlerV1 := v1.NewHandler(h.services, h.tokenManager)
62 api := router.Group("/api")
63 {
64 handlerV1.Init(api)
65 }
66}

Callers 1

InitMethod · 0.95

Calls 2

InitMethod · 0.95
NewHandlerFunction · 0.92

Tested by

no test coverage detected