Versions in this module Expand all Collapse all v1 v1.0.0 Oct 17, 2023 Changes in this version + type ClusterService struct + Discover string + HealthCheck string + Monitor string + type Config struct + BindAddress string + DisableHealthCheck bool + EnableRegister bool + HeartBeat int + InstanceID string + InstanceLocation *model.Location + Metadata map[string]string + Namespace string + Protocol string + ServiceName string + ServiceToken string + TTL int + Weight *int + type FactoryConfig struct + AddressList string + ClusterService ClusterService + ConnectTimeout int + Debug bool + DisableHealthCheck bool + EnableRegister bool + HeartbeatInterval int + InstanceLocation *model.Location + MessageTimeout *time.Duration + Protocol string + Services []Service + type Registry struct + Provider api.ProviderAPI + func NewRegistry(provider api.ProviderAPI, cfg *Config) (*Registry, error) + func (r *Registry) Deregister(_ string) error + func (r *Registry) Register(_ string, opt ...registry.Option) error + type RegistryFactory struct + func (f *RegistryFactory) FlexDependsOn() []string + func (f *RegistryFactory) GetSDKCtx() api.SDKContext + func (f *RegistryFactory) Setup(name string, configDec plugin.Decoder) error + func (f *RegistryFactory) Type() string + type Service struct + BindAddress string + InstanceID string + MetaData map[string]string + Namespace string + ServiceName string + Token string + Weight *int