MCPcopy
hub / github.com/eolinker/goku_lite / Discovery

Struct Discovery

goku-service/driver/consul/consul_catalog.go:13–24  ·  view source on GitHub ↗

Discovery discovery

Source from the content-addressed store, hash-verified

11
12//Discovery discovery
13type Discovery struct {
14 //Config *api.Config
15
16 orgConfig string
17
18 callback func([]*common.Service)
19 client *api.Client
20 services []*common.Service
21
22 instanceFactory *common.InstanceFactory
23 cancel context.CancelFunc
24}
25
26//SetConfig setConfig
27func (d *Discovery) SetConfig(config string) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected