common

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtocolVersion

type ProtocolVersion struct {
	VersionStr     string
	P              protocol.Protocol
	TxnProcessor   protocol.TxnProcessor
	OpParser       protocol.OperationParser
	OpApplier      protocol.OperationApplier
	DocComposer    protocol.DocumentComposer
	OpHandler      protocol.OperationHandler
	OpProvider     protocol.OperationProvider
	DocValidator   protocol.DocumentValidator
	DocTransformer protocol.DocumentTransformer
}

ProtocolVersion implements the protocol.Version interface

func (*ProtocolVersion) DocumentComposer

func (h *ProtocolVersion) DocumentComposer() protocol.DocumentComposer

DocumentComposer returns the document composer

func (*ProtocolVersion) DocumentTransformer

func (h *ProtocolVersion) DocumentTransformer() protocol.DocumentTransformer

DocumentTransformer returns the document transformer

func (*ProtocolVersion) DocumentValidator

func (h *ProtocolVersion) DocumentValidator() protocol.DocumentValidator

DocumentValidator returns the document validator

func (*ProtocolVersion) OperationApplier

func (h *ProtocolVersion) OperationApplier() protocol.OperationApplier

OperationApplier returns the operation applier

func (*ProtocolVersion) OperationHandler

func (h *ProtocolVersion) OperationHandler() protocol.OperationHandler

OperationHandler returns the operation handler

func (*ProtocolVersion) OperationParser

func (h *ProtocolVersion) OperationParser() protocol.OperationParser

OperationParser returns the operation parser

func (*ProtocolVersion) OperationProvider

func (h *ProtocolVersion) OperationProvider() protocol.OperationProvider

OperationProvider returns the operation provider

func (*ProtocolVersion) Protocol

func (h *ProtocolVersion) Protocol() protocol.Protocol

Protocol returns the protocol parameters

func (*ProtocolVersion) TransactionProcessor

func (h *ProtocolVersion) TransactionProcessor() protocol.TxnProcessor

TransactionProcessor returns the transaction processor

func (*ProtocolVersion) Version

func (h *ProtocolVersion) Version() string

Version returns the protocol parameters

Jump to

Keyboard shortcuts

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