Documentation ¶
Index ¶
Constants ¶
View Source
const ( RegisterType = "register" BlockType = "block" )
----Event Types -----
Variables ¶
This section is empty.
Functions ¶
func CreateBlockEvent ¶
func CreateBlockEvent(te *ehpb.Block) *ehpb.OpenchainEvent
CreateBlockEvent creates a OpenchainEvent from a Block
Types ¶
type OpenchainEventsServer ¶
type OpenchainEventsServer struct { }
OpenchainEventsServer implementation of the Peer service
func NewOpenchainEventsServer ¶
func NewOpenchainEventsServer(bufferSize uint, timeout int) *OpenchainEventsServer
NewOpenchainEventsServer returns a OpenchainEventsServer
func (*OpenchainEventsServer) Chat ¶
func (p *OpenchainEventsServer) Chat(stream pb.OpenchainEvents_ChatServer) error
Chat implementation of the the Chat bidi streaming RPC function
Click to show internal directories.
Click to hide internal directories.