Versions in this module Expand all Collapse all v0 v0.1.10 May 18, 2023 Changes in this version + const DefaultNumOfMsgToCache + var ErrItemNotFound = errors.New("item not found") + func ReplaceIndexes(str string) string + type Author struct + Email string + ID string + Name string + type Message struct + Author Author + ID string + Text string + type MessageCache struct + func NewMessageCache() *MessageCache + func (mc *MessageCache) Find(msgId string) (*Message, error) + func (mc *MessageCache) Push(msgId, text, userId, name, email string) error