Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRemotingMetadataService ¶
func GetRemotingMetadataService() (service.RemotingMetadataService, error)
GetRemotingMetadataService will create a new remote MetadataService instance
Types ¶
type MetadataService ¶
type MetadataService struct { *inmemory.MetadataService // contains filtered or unexported fields }
func (*MetadataService) GetMetadata ¶
func (s *MetadataService) GetMetadata(instance registry.ServiceInstance) (*common.MetadataInfo, error)
GetMetadata get the medata info of service from report
func (*MetadataService) PublishMetadata ¶
func (s *MetadataService) PublishMetadata(service string)
PublishMetadata publishes the metadata info of @service to remote metadata center
func (*MetadataService) PublishServiceDefinition ¶
func (s *MetadataService) PublishServiceDefinition(url *common.URL) error
PublishServiceDefinition will call remote metadata's StoreProviderMetadata to store url info and service definition
Click to show internal directories.
Click to hide internal directories.