package
2.0.0-alpha+incompatible
Repository: https://github.com/hyperledger-labs/fabric-block-archiving.git
Documentation: pkg.go.dev

# Packages

Code generated by counterfeiter.

# Functions

ExtractChannelHeaderCertHash extracts the TLS cert hash from a channel header.
NewHandler creates an implementation of the Handler interface.
No description provided by the author
NewSessionAC creates an instance of SessionAccessControl.

# Structs

Handler handles server requests.
No description provided by the author
Server is a polymorphic structure to support generalization of this handler to be able to deliver different type of responses.
SessionAccessControl holds access control related data for a common Envelope that is used to determine if a request is allowed for the identity associated with the request envelope.

# Interfaces

Chain encapsulates chain operations and data.
ChainManager provides a way for the Handler to look up the Chain.
ConfigSequencer provides the sequence number of the current config block.
Filtered is a marker interface that indicates a response sender is configured to send filtered blocks.
Inspector verifies an appropriate binding between the message and the context.
PolicyChecker checks the envelope against the policy logic supplied by the function.
Receiver is used to receive enveloped seek requests.
ResponseSender defines the interface a handler must implement to send responses.

# Type aliases

ExpiresAtFunc is used to extract the time at which an identity expires.
The InspectorFunc is an adapter that allows the use of an ordinary function as an Inspector.
The PolicyCheckerFunc is an adapter that allows the use of an ordinary function as a PolicyChecker.