Register a service node. Additionally supply options such as TTL.
(s *Service, opts ...RegisterOption)
| 67 | |
| 68 | // Register a service node. Additionally supply options such as TTL. |
| 69 | func Register(s *Service, opts ...RegisterOption) error { |
| 70 | return DefaultRegistry.Register(s, opts...) |
| 71 | } |
| 72 | |
| 73 | // Deregister a service node. |
| 74 | func Deregister(s *Service) error { |
nothing calls this directly
no test coverage detected
searching dependent graphs…