Versions in this module Expand all Collapse all v5 v5.0.1 Nov 10, 2022 v5.0.0 Nov 10, 2022 Changes in this version + const MessageIdLen + const TruncatedMessageIdLen + type Buff struct + func LoadBuff(kv *versioned.KV) (*Buff, error) + func NewBuff(kv *versioned.KV, n int) (*Buff, error) + func (b *Buff) Add(id MessageID, timestamp time.Time) error + func (b *Buff) Get() *Message + func (b *Buff) GetByMessageID(id MessageID) (*Message, error) + func (b *Buff) GetNextMessage(id MessageID) (*Message, error) + type Conversation struct + func LoadOrMakeConversation(kv *versioned.KV, partner *id.ID) *Conversation + func (c *Conversation) GetNextSendID() (uint64, uint32) + func (c *Conversation) ProcessReceivedMessageID(mid uint32) uint64 + type Message struct + MessageId MessageID + Timestamp time.Time + type MessageID [MessageIdLen]byte + func NewMessageIdFromBytes(data []byte) MessageID + func (mid MessageID) Bytes() []byte + func (mid MessageID) String() string + type Store struct + func NewStore(kv *versioned.KV) *Store + func (s *Store) Delete(partner *id.ID) + func (s *Store) Get(partner *id.ID) *Conversation Other modules containing this package gitlab.com/elixxir/client/v4