Documentation ¶
Index ¶
- Variables
- func CopyService(service *micro.Service) *micro.Service
- func CopyServices(current []*micro.Service) []*micro.Service
- func Merge(olist []*micro.Service, nlist []*micro.Service) []*micro.Service
- func NewEtcdRegistry(opts ...Option) (micro.Registry, error)
- func Remove(old, del []*micro.Service) []*micro.Service
- func Topic(service string, version *micro.Version, node string) string
- func Topics(service string, version *micro.Version, node string) []string
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultRegisterCheck = func(ctx context.Context) error { return nil }
)
Functions ¶
func CopyService ¶
CopyService make a copy of service
func CopyServices ¶
CopyServices makes a copy of services
Types ¶
Click to show internal directories.
Click to hide internal directories.