fabric: github.com/hyperledger/fabric/peer/common/api Index | Files

package api

import "github.com/hyperledger/fabric/peer/common/api"

Index

Package Files

api.go

type DeliverClient Uses

type DeliverClient interface {
    Deliver(ctx context.Context, opts ...grpc.CallOption) (DeliverService, error)
}

DeliverClient defines the interface for a deliver client

type DeliverService Uses

type DeliverService interface {
    Send(*cb.Envelope) error
    Recv() (*ab.DeliverResponse, error)
    CloseSend() error
}

DeliverService defines the interface for delivering blocks

type PeerDeliverClient Uses

type PeerDeliverClient interface {
    Deliver(ctx context.Context, opts ...grpc.CallOption) (api.Deliver, error)
    DeliverFiltered(ctx context.Context, opts ...grpc.CallOption) (api.Deliver, error)
}

PeerDeliverClient defines the interface for a peer deliver client

Package api imports 5 packages (graph) and is imported by 3 packages. Updated 2018-07-06. Refresh now. Tools for package owners.