context

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SidetreeContext

type SidetreeContext struct {
	// contains filtered or unexported fields
}

SidetreeContext implements 'Fabric' version of Sidetree node context

func New

func New(channelID, namespace string, protocolVersions map[string]protocolApi.Protocol, txnProvider txnServiceProvider, dcasProvider dcasClientProvider) *SidetreeContext

New creates new Sidetree context

func (*SidetreeContext) Blockchain

func (m *SidetreeContext) Blockchain() batch.BlockchainClient

Blockchain returns blockchain client

func (*SidetreeContext) CAS

func (m *SidetreeContext) CAS() batch.CASClient

CAS returns content addressable storage client

func (*SidetreeContext) Namespace added in v0.1.1

func (m *SidetreeContext) Namespace() string

Namespace returns the namespace

func (*SidetreeContext) Protocol

func (m *SidetreeContext) Protocol() protocolApi.Client

Protocol returns protocol client

Directories

Path Synopsis
cas

Jump to

Keyboard shortcuts

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