package
1.0.0-alpha
Repository: https://github.com/leonlxy/hyperledger.git
Documentation: pkg.go.dev

# Functions

CacheConfiguration computes and caches commonly-used constants and computed constants as package variables.
GetCASupport returns the signleton CASupport instance.
No description provided by the author
InitTLSForPeer returns TLS credentials for peer.
NewClientConnectionWithAddress Returns a new grpc.ClientConn to the given address.
NewGRPCServer creates a new implementation of a GRPCServer given alisten address.
NewGRPCServerFromListener creates a new implementation of a GRPCServer givenan existing net.Listener instance.
TLSEnabled return cached value for "peer.tls.enabled" configuration value.

# Structs

CASupport type manages certificate authorities scoped by channel.
A SecureServerConfig structure is used to configure security (e.g.

# Interfaces

GRPCServer defines an interface representing a GRPC-based server.