Documentation ¶
Overview ¶
Package protocol defines types for the chat protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MessageReceived = &view.View{ Name: "stratumn-node/views/chat/message-received", Description: "chat message received", Measure: msgReceived.Measure, TagKeys: []tag.Key{monitoring.PeerIDTag.OCTag}, Aggregation: view.Count(), } MessageSent = &view.View{ Name: "stratumn-node/views/chat/message-sent", Description: "chat message sent", Measure: msgSent.Measure, TagKeys: []tag.Key{monitoring.PeerIDTag.OCTag}, Aggregation: view.Count(), } MessageError = &view.View{ Name: "stratumn-node/views/chat/message-error", Description: "chat message error", Measure: msgError.Measure, TagKeys: []tag.Key{monitoring.PeerIDTag.OCTag}, Aggregation: view.Count(), } )
Views exposed by the chat app.
View Source
var ProtocolID = protocol.ID("/stratumn/node/chat/v1.0.0")
ProtocolID is the protocol ID of the service.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.