package
0.0.0-20180419104149-40f2d1d03a96
Repository: https://github.com/tjfoc/hyperledger-fabric-gm.git
Documentation: pkg.go.dev

# Functions

ClientKeepaliveOptions returns the gRPC keepalive options for clients.
GetCASupport returns the signleton CASupport instance.
No description provided by the author
InitTLSForPeer returns TLS credentials for peer.
MaxRecvMsgSize returns the maximum message size in bytes that gRPC clients and servers can receive.
MaxSendMsgSize returns the maximum message size in bytes that gRPC clients and servers can send.
NewClientConnectionWithAddress Returns a new grpc.ClientConn to the given address.
NewConnectionProducer creates a new ConnectionProducer with given endpoints and connection factory.
NewGRPCServer creates a new implementation of a GRPCServer given alisten address.
NewGRPCServerFromListener creates a new implementation of a GRPCServer givenan existing net.Listener instance.
NewServerTransportCredentials returns a new initialized grpc/gmcredentials.TransportCredentials.
ServerKeepaliveOptions returns the gRPC keepalive options for servers.
SetKeepaliveOptions sets the gRPC keepalive options for both clients and servers.
SetMaxRecvMsgSize sets the maximum message size in bytes that gRPC clients and servers can receive.
SetMaxSendMsgSize sets the maximum message size in bytes that gRPC clients and servers can send.
TLSEnabled return cached value for "peer.tls.enabled" configuration value.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

CASupport type manages certificate authorities scoped by channel.
KeepAliveOptions is used to set the gRPC keepalive settings for both clients and servers.
A SecureServerConfig structure is used to configure security (e.g.

# Interfaces

ConnectionProducer produces connections out of a set of predefined endpoints.
GRPCServer defines an interface representing a GRPC-based server.

# Type aliases

ConnectionFactory creates a connection to a certain endpoint.