Documentation
¶
Overview ¶
Package actions details boutique.Actions that are used by modifiers to modify the store.
Index ¶
Constants ¶
View Source
const ( // ActSendMessage indicates we want to send a message via the store. ActSendMessage boutique.ActionType = iota // ActDeleteMessages indicates we want to delete messages from the store. ActDeleteMessages // ActAddUser indicates the Action wants to add a user to the store. ActAddUser // ActRemoveUser indicates the Action wants to remove a user from the store. ActRemoveUser )
Variables ¶
This section is empty.
Functions ¶
func DeleteMessages ¶
DeleteMessages deletes messages in our .Messages slice from the front until we reach lastMsgID (inclusive).
func RemoveUser ¶
RemoveUser removes a user from the store, indicating a user has left the room.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.