defaultserviceregistry.go 296 B

12345678910111213141516171819
  1. package none
  2. type DefaultServiceRegistry struct {
  3. }
  4. func NewDefaultServiceRegistry() (r *DefaultServiceRegistry) {
  5. r = &DefaultServiceRegistry{}
  6. return
  7. }
  8. func (r *DefaultServiceRegistry) Register() error {
  9. return nil
  10. }
  11. func (r *DefaultServiceRegistry) Deregister() error {
  12. return nil
  13. }