MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / init

Function init

stores/cluster/store.go:23–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23func init() {
24 autowire.Auto[IClusterStore](func() reflect.Value {
25 return reflect.ValueOf(new(storeCluster))
26 })
27
28 autowire.Auto[IClusterNodeStore](func() reflect.Value {
29 return reflect.ValueOf(new(storeClusterNode))
30 })
31
32 autowire.Auto[IClusterNodeAddressStore](func() reflect.Value {
33 return reflect.ValueOf(new(storeClusterNodeAddr))
34 })
35}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected