Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Greet ¶
type Greet struct {
*types.GreetMessage
}
func NewGreetFromProto ¶
func NewGreetFromProto(m *types.GreetMessage) *Greet
type LastMessage ¶
LastMessage which is stored in Node and serves to identify duplicate messages
func NewLastMessage ¶
func NewLastMessage() *LastMessage
func (*LastMessage) Get ¶
func (m *LastMessage) Get() *Message
func (*LastMessage) ListenUpdates ¶
func (m *LastMessage) ListenUpdates()
ListenUpdates updates the lastMessage with the latest message received
type Message ¶
func MessageFrom ¶
MessageFrom creates a new Message with the provided data.
func MessageFromProto ¶
Click to show internal directories.
Click to hide internal directories.