MCPcopy
hub / github.com/micro/go-micro / GetService

Method GetService

registry/registry.go:23–23  ·  view source on GitHub ↗
(string, ...GetOption)

Source from the content-addressed store, hash-verified

21 Register(*Service, ...RegisterOption) error
22 Deregister(*Service, ...DeregisterOption) error
23 GetService(string, ...GetOption) ([]*Service, error)
24 ListServices(...ListOption) ([]*Service, error)
25 Watch(...WatchOption) (Watcher, error)
26 String() string

Callers 15

TestMDNSFunction · 0.65
TestMemoryRegistryFunction · 0.65
TestMemoryRegistryTTLFunction · 0.65
GetServiceFunction · 0.65
getMethod · 0.65
TestStaleCacheOnErrorFunction · 0.65

Implementers 7

memRegistryregistry/memory.go
mdnsRegistryregistry/mdns_registry.go
mockRegistryregistry/cache/cache_test.go
etcdRegistryregistry/etcd/etcd.go
consulRegistryregistry/consul/consul.go
natsRegistryregistry/nats/nats.go
fakeRegistryhealth/registry_check_test.go

Calls

no outgoing calls