Documentation ¶
Index ¶
Constants ¶
View Source
const (
// V1_0 ...
V1_0 = "1.0"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry implements a protocol version factory registry.
func (*Registry) CreateProtocolVersion ¶
func (r *Registry) CreateProtocolVersion(version string, casClient cas.Client, casResolver ctxcommon.CASResolver, opStore ctxcommon.OperationStore, provider storage.Provider, sidetreeCfg *config.Sidetree, metrics metricsProvider.Metrics, ) (protocol.Version, error)
CreateProtocolVersion creates a new protocol version using the given version and providers.
Click to show internal directories.
Click to hide internal directories.