Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider( storeProvider func(channelID string) storeapi.Store, ledgerProvider func(channelID string) ledger.PeerLedger, gossipProvider func() supportapi.GossipAdapter, blockPublisherProvider func(channelID string) gossipapi.BlockPublisher) storeapi.Provider
NewProvider returns a new transient data Retriever provider
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider is a transient data provider.
type Support ¶
type Support interface { Config(channelID, ns, coll string) (*cb.StaticCollectionConfig, error) Policy(channel, ns, collection string) (privdata.CollectionAccessPolicy, error) BlockPublisher(channelID string) gossipapi.BlockPublisher }
Support defines the supporting functions required by the transient data provider
Click to show internal directories.
Click to hide internal directories.