Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBlockEvent ¶
CreateBlockEvent creates a Event from a Block
func CreateChaincodeEvent ¶
func CreateChaincodeEvent(te *ehpb.ChaincodeEvent) *ehpb.Event
CreateChaincodeEvent creates a Event from a ChaincodeEvent
func CreateRejectionEvent ¶
func CreateRejectionEvent(tx *ehpb.Transaction, errorMsg string) *ehpb.Event
CreateRejectionEvent creates an Event from TxResults
Types ¶
type EventsServer ¶
type EventsServer struct { }
EventsServer implementation of the Peer service
func NewEventsServer ¶
func NewEventsServer(bufferSize uint, timeout int) *EventsServer
NewEventsServer returns a EventsServer
func (*EventsServer) Chat ¶
func (p *EventsServer) Chat(stream pb.Events_ChatServer) error
Chat implementation of the the Chat bidi streaming RPC function
Click to show internal directories.
Click to hide internal directories.