remoting

package
v3.0.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL