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

Function init

cmd/cql/internal/adapter.go:47–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47func init() {
48 CmdAdapter.Run = runAdapter
49 CmdAdapter.Flag.StringVar(&adapterUseMirrorAddr, "mirror", "", "Mirror server for adapter to query")
50
51 addCommonFlags(CmdAdapter)
52 addConfigFlag(CmdAdapter)
53 addBgServerFlag(CmdAdapter)
54}
55
56func startAdapterServer(adapterAddr string, adapterUseMirrorAddr string) func() {
57 adapterHTTPServer, err := adapter.NewHTTPAdapter(adapterAddr, configFile, adapterUseMirrorAddr)

Callers

nothing calls this directly

Calls 3

addCommonFlagsFunction · 0.85
addConfigFlagFunction · 0.85
addBgServerFlagFunction · 0.85

Tested by

no test coverage detected