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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockPublisherProvider

type BlockPublisherProvider interface {
	ForChannel(channelID string) gossipapi.BlockPublisher
}

BlockPublisherProvider provides a block publisher for a given channel

type DCASClientProvider

type DCASClientProvider interface {
	GetDCASClient(channelID string, namespace string, coll string) (dcasclient.DCAS, error)
}

DCASClientProvider is a DCAS client provider

type OffLedgerClientProvider added in v0.1.5

type OffLedgerClientProvider interface {
	ForChannel(channelID string) (client.OffLedger, error)
}

OffLedgerClientProvider is an off-ledger client provider

type OperationStore

type OperationStore interface {
	Get(suffix string) ([]*operation.AnchoredOperation, error)
	Put(ops []*operation.AnchoredOperation) error
}

OperationStore interface to access operation store

type OperationStoreProvider

type OperationStoreProvider interface {
	ForNamespace(namespace string) (OperationStore, error)
}

OperationStoreProvider returns an operation store for the given namespace

type ProtocolClientProvider added in v0.1.4

type ProtocolClientProvider interface {
	ForNamespace(namespace string) (protocol.Client, error)
}

ProtocolClientProvider returns a protocol provider for the given namespace

Jump to

Keyboard shortcuts

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