MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / initConfig

Function initConfig

cmd/cql-proxy/init.go:143–148  ·  view source on GitHub ↗
(e *gin.Engine, cfg *config.Config)

Source from the content-addressed store, hash-verified

141}
142
143func initConfig(e *gin.Engine, cfg *config.Config) {
144 e.Use(func(c *gin.Context) {
145 c.Set("config", cfg)
146 c.Next()
147 })
148}

Callers 1

initServerFunction · 0.85

Calls 2

SetMethod · 0.45
NextMethod · 0.45

Tested by

no test coverage detected