import "github.com/hyperledger/fabric-chaincode-go/shim/internal"
LoadTLSConfig loads the TLS configuration for the chaincode
func NewClientConn( address string, tlsConf *tls.Config, kaOpts keepalive.ClientParameters, ) (*grpc.ClientConn, error)
NewClientConn ...
func NewRegisterClient(conn *grpc.ClientConn) (peerpb.ChaincodeSupport_RegisterClient, error)
NewRegisterClient ...
Config contains chaincode's configuration
LoadConfig loads the chaincode configuration
Server abstracts grpc service properties
func NewServer( address string, tlsConf *tls.Config, srvKaOpts *keepalive.ServerParameters, ) (*Server, error)
NewServer creates a new implementation of a GRPC Server given a listen address
Start the server
Stop the server
Path | Synopsis |
---|---|
mock | Code generated by counterfeiter. |
Package internal imports 15 packages (graph) and is imported by 2 packages. Updated 2020-02-07. Refresh now. Tools for package owners.