Documentation ¶
Index ¶
- type Handler
- func (h *Handler) HandleExecuteQueryOnPrivateData(txID, ns string, config *pb.StaticCollectionConfig, query string) (commonledger.ResultsIterator, bool, error)
- func (h *Handler) HandleGetPrivateData(txID, ns string, config *pb.StaticCollectionConfig, key string) ([]byte, bool, error)
- func (h *Handler) HandleGetPrivateDataMultipleKeys(txID, ns string, config *pb.StaticCollectionConfig, keys []string) ([][]byte, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler handles the retrieval of kevlar-defined collection types
func (*Handler) HandleExecuteQueryOnPrivateData ¶
func (h *Handler) HandleExecuteQueryOnPrivateData(txID, ns string, config *pb.StaticCollectionConfig, query string) (commonledger.ResultsIterator, bool, error)
HandleExecuteQueryOnPrivateData executes the given query on the collection if the collection is one of the extended collections
func (*Handler) HandleGetPrivateData ¶
func (h *Handler) HandleGetPrivateData(txID, ns string, config *pb.StaticCollectionConfig, key string) ([]byte, bool, error)
HandleGetPrivateData if the collection is one of the custom Kevlar collections then the private data is returned
func (*Handler) HandleGetPrivateDataMultipleKeys ¶
func (h *Handler) HandleGetPrivateDataMultipleKeys(txID, ns string, config *pb.StaticCollectionConfig, keys []string) ([][]byte, bool, error)
HandleGetPrivateDataMultipleKeys if the collection is one of the custom Kevlar collections then the private data is returned
Click to show internal directories.
Click to hide internal directories.