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

Function Register

registry/registry.go:69–71  ·  view source on GitHub ↗

Register a service node. Additionally supply options such as TTL.

(s *Service, opts ...RegisterOption)

Source from the content-addressed store, hash-verified

67
68// Register a service node. Additionally supply options such as TTL.
69func Register(s *Service, opts ...RegisterOption) error {
70 return DefaultRegistry.Register(s, opts...)
71}
72
73// Deregister a service node.
74func Deregister(s *Service) error {

Callers

nothing calls this directly

Calls 1

RegisterMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…