identifier

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseMetadataIdentifier

type BaseMetadataIdentifier struct {
	ServiceInterface string
	Version          string
	Group            string
	Side             string
}

BaseMetadataIdentifier is the base implement of BaseMetadataIdentifier interface

type IMetadataIdentifier

type IMetadataIdentifier interface {
	GetFilePathKey() string
	GetIdentifierKey() string
}

BaseMetadataIdentifier defined for describe 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
	MetadataIdentifier
}

SubscriberMetadataIdentifier is inherit baseMetaIdentifier with service params: Revision

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

Jump to

Keyboard shortcuts

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