package
2.0.0+incompatible
Repository: https://github.com/shaoguangming/222.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
Code generated by counterfeiter.
No description provided by the author
Code generated by counterfeiter.
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
IsDevMode returns true if the peer was configured with development-mode enabled.
No description provided by the author
No description provided by the author
NewHandlerRegistry constructs a HandlerRegistry.
No description provided by the author
No description provided by the author
NewTransactionContexts creates a registry for active transaction contexts.
No description provided by the author
ParseName parses a chaincode name into a ChaincodeInstance.
# Constants
No description provided by the author
DevModeUserRunsChaincode enables chaincode execution in a development environment.
No description provided by the author
InitializedKeyName is the reserved key in a chaincode's namespace which records the ID of the chaincode which initialized the namespace.
No description provided by the author
# Structs
No description provided by the author
ChaincodeSupport responsible for providing interfacing with chaincodes from the Peer.
No description provided by the author
ContainerRuntime is responsible for managing containerized chaincode.
Handler implements the peer side of the chaincode stream.
No description provided by the author
HandlerRegistry maintains chaincode Handler instances.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RuntimeLauncher is responsible for launching chaincode runtimes.
No description provided by the author
TransactionContexts maintains active transaction contexts for a Handler.
No description provided by the author
# Interfaces
An ACLProvider performs access control checks when invoking chaincode.
ApplicationConfigRetriever to retrieve the application configuration for a channel.
CertGenerator generates client certificates for chaincode.
ConnectionHandler handles the `Chaincode` client connection.
ContainerRouter is a poor abstraction used for building, and running chaincode processes.
A ContextRegistry is responsible for managing transaction contexts.
An Invoker invokes chaincode.
Launcher is used to launch chaincode runtimes.
LaunchRegistry tracks launching chaincode instances.
LedgerGetter is used to get ledgers for chaincode.
Lifecycle provides a way to retrieve chaincode definitions and the packages necessary to run them.
No description provided by the author
QueryResponseBuilder is responsible for building QueryResponse messages for query transactions initiated by chaincode.
A Registry is responsible for tracking handlers.
Runtime is used to manage chaincode runtime instances.
TransactionRegistry tracks active transactions for each channel.
UUIDGenerator is responsible for creating unique query identifiers.
# Type aliases
CollectionACLCache encapsulates a cache that stores read write permission on a collection.
No description provided by the author
No description provided by the author