Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeChatMessage ¶
func MakeChatMessage(toUID, fromUID, chatroom, from, parent, text string) *cotproto.TakMessage
Types ¶
type ChatMessage ¶
type ChatMessage struct {
// contains filtered or unexported fields
}
func FromCot ¶
func FromCot(c *cot.CotMessage) *ChatMessage
func (*ChatMessage) GetCallsignFrom ¶
func (c *ChatMessage) GetCallsignFrom() string
func (*ChatMessage) GetChatroom ¶
func (c *ChatMessage) GetChatroom() string
func (*ChatMessage) GetMessageID ¶
func (c *ChatMessage) GetMessageID() string
func (*ChatMessage) GetText ¶
func (c *ChatMessage) GetText() string
func (*ChatMessage) GetUIDFrom ¶
func (c *ChatMessage) GetUIDFrom() string
func (*ChatMessage) GetUIDTo ¶
func (c *ChatMessage) GetUIDTo() string
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func NewStorage() *Storage
func (*Storage) Add ¶
func (s *Storage) Add(c *ChatMessage)
func (*Storage) ForEach ¶
func (s *Storage) ForEach(f func(c *ChatMessage) bool)
Click to show internal directories.
Click to hide internal directories.