Versions in this module Expand all Collapse all v0 v0.2.0 Mar 13, 2019 v0.1.0 Jul 23, 2018 Changes in this version + var MessageError = &view.View + var MessageReceived = &view.View + var MessageSent = &view.View + var ProtocolID = protocol.ID("/indigo/node/chat/v1.0.0") + type Chat struct + func NewChat(host Host, eventEmitter event.Emitter, msgReceivedCh chan *pbchat.DatedMessage) *Chat + func (c *Chat) Send(ctx context.Context, pid peer.ID, message string) error + func (c *Chat) StreamHandler(ctx context.Context, stream inet.Stream) + type Host = ihost.Host