Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageEvent ¶
type MessageState ¶
type MessagesState ¶
type MessagesState interface { SaveMessage(*MessageState) error SaveMessageEvent(*MessageEvent) error ListMessages(*MessageState) ([]*MessageState, error) FindMessage(id string) (*MessageState, error) DeleteMessage(id string) error DeleteMessages(groupId string) error }
func InitMessageState ¶
func InitMessageState(db state.DBManager) (MessagesState, error)
Click to show internal directories.
Click to hide internal directories.