Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ChatPrefix is the storage prefix for the chat. ChatPrefix = "/chat" // RoomsPrefix is the prefix for chat rooms. RoomsPrefix = ChatPrefix + "/rooms" )
View Source
const (
// AppID is the application ID.
AppID = "com.webmeshproj.app"
)
Variables ¶
This section is empty.
Functions ¶
func MembersPath ¶
MembersPath returns the storage path for a room's members.
func MessagesPath ¶
MessagesPath returns the storage path for a room's messages.
func NewMessageKey ¶
NewMessageKey returns a new message key for publishing to a room.
Types ¶
Click to show internal directories.
Click to hide internal directories.