Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseApplicationMetadataIdentifier ¶
BaseApplicationMetadataIdentifier is the base implement of BaseApplicationMetadataIdentifier interface
type BaseMetadataIdentifier ¶
type BaseMetadataIdentifier struct { ServiceInterface string Version string Group string Side string }
BaseMetadataIdentifier is the base implement of BaseMetadataIdentifier interface
type IMetadataIdentifier ¶
IMetadataIdentifier is the interface which describes the Metadata base identify
type MetadataIdentifier ¶
type MetadataIdentifier struct { Application string BaseMetadataIdentifier }
MetadataIdentifier is inherit baseMetaIdentifier with Application name
func (*MetadataIdentifier) GetFilePathKey ¶
func (mdi *MetadataIdentifier) GetFilePathKey() string
GetFilePathKey returns string that format is metadata/path/Version/Group/Side/Application
func (*MetadataIdentifier) GetIdentifierKey ¶
func (mdi *MetadataIdentifier) GetIdentifierKey() string
GetIdentifierKey returns string that format is service:Version:Group:Side:Application
type ServiceMetadataIdentifier ¶
type ServiceMetadataIdentifier struct { Revision string Protocol string BaseMetadataIdentifier }
ServiceMetadataIdentifier is inherit baseMetaIdentifier with service params: Revision and Protocol
func NewServiceMetadataIdentifier ¶
func NewServiceMetadataIdentifier(url *common.URL) *ServiceMetadataIdentifier
NewServiceMetadataIdentifier create instance. The ServiceInterface is the @url.Service() other parameters are read from @url
func (*ServiceMetadataIdentifier) GetFilePathKey ¶
func (mdi *ServiceMetadataIdentifier) GetFilePathKey() string
GetFilePathKey returns string that format is metadata/path/Version/Group/Side/Protocol/"revision"+Revision
func (*ServiceMetadataIdentifier) GetIdentifierKey ¶
func (mdi *ServiceMetadataIdentifier) GetIdentifierKey() string
GetIdentifierKey returns string that format is service:Version:Group:Side:Protocol:"revision"+Revision
type SubscriberMetadataIdentifier ¶
type SubscriberMetadataIdentifier struct { Revision string BaseApplicationMetadataIdentifier }
SubscriberMetadataIdentifier is inherit baseMetaIdentifier with service params: Revision
func NewSubscriberMetadataIdentifier ¶
func NewSubscriberMetadataIdentifier(application string, revision string) *SubscriberMetadataIdentifier
func (*SubscriberMetadataIdentifier) GetFilePathKey ¶
func (mdi *SubscriberMetadataIdentifier) GetFilePathKey() string
GetFilePathKey returns string that format is metadata/path/Version/Group/Side/Revision
func (*SubscriberMetadataIdentifier) GetIdentifierKey ¶
func (mdi *SubscriberMetadataIdentifier) GetIdentifierKey() string
GetIdentifierKey returns string that format is service:Version:Group:Side:Revision