Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChannelProvider ¶
func GetChannelProvider(cfg *viper.Viper) (context.ChannelProvider, error)
GetChannelProvider creates new channel provider
Types ¶
type SidetreeContext ¶
type SidetreeContext struct {
// contains filtered or unexported fields
}
SidetreeContext implements 'Fabric' version of Sidetree node context
func New ¶
func New(cfg *viper.Viper, channelProvider context.ChannelProvider) (*SidetreeContext, error)
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) Protocol ¶
func (m *SidetreeContext) Protocol() protocolApi.Client
Protocol returns protocol client
Click to show internal directories.
Click to hide internal directories.