{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\n## Types\n\n```go\ntype DeliverClient interface {\n\tDeliver(ctx context.Context, opts ...grpc.CallOption) (DeliverService, error)\n}\n```\nDeliverClient defines the interface for a deliver client\n\n```go\ntype DeliverService interface {\n\tSend(*cb.Envelope) error\n\tRecv() (*ab.DeliverResponse, error)\n\tCloseSend() error\n}\n```\nDeliverService defines the interface for delivering blocks\n\n```go\ntype PeerDeliverClient interface {\n\tDeliver(ctx context.Context, opts ...grpc.CallOption) (api.Deliver, error)\n\tDeliverFiltered(ctx context.Context, opts ...grpc.CallOption) (api.Deliver, error)\n}\n```\nPeerDeliverClient defines the interface for a peer deliver client\n\n","path":"github.com/eric-erki/https-hyperledger.org/peer/common/api","name":"api","synopsis":"","isRedistributable":true}
