Documentation
¶
Index ¶
- type AddStreakXPMsg
- type BroadcastMessage
- type BroadcastNotification
- type ChatKickMsg
- type ChatUpdateEvent
- type ChatUpdatedEventMsg
- type CreateWorkspaceMsg
- type DestroyWorkspaceMsg
- type ForgetConnMsg
- type NewChatMsg
- type NewMessageMsg
- type StartWorkspaceMsg
- type StopWorkspaceMsg
- type WorkspaceStatusUpdateMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddStreakXPMsg ¶
type BroadcastMessage ¶
type BroadcastMessage struct {
InitMessage string `json:"init_message"`
}
type BroadcastNotification ¶
type BroadcastNotification struct {
Notification string `json:"notification"`
}
type ChatKickMsg ¶
type ChatKickMsg struct {
ChatID int64 `json:"chat_id"`
}
type ChatUpdateEvent ¶
type ChatUpdateEvent int
const ( ChatUpdateEventNameChange ChatUpdateEvent = iota ChatUpdateEventUserAdd ChatUpdateEventUserRemove ChatUpdateEventDeleted )
type ChatUpdatedEventMsg ¶
type ChatUpdatedEventMsg struct { Chat *models.ChatFrontend `json:"chat"` UpdateEvents []ChatUpdateEvent `json:"update_events"` OldName string `json:"old_name"` AddedUsers []string `json:"added_users"` RemovedUsers []string `json:"removed_users"` Updater string `json:"updater"` UpdaterIcon string `json:"updater_icon"` UpdaterBackground string `json:"updater_background"` UpdaterBackgroundRenderInFront bool `json:"updater_background_render_in_front"` UpdaterBackgroundPalette string `json:"updater_background_palette"` UpdaterPro bool `json:"updater_pro"` }
type CreateWorkspaceMsg ¶
type DestroyWorkspaceMsg ¶
type ForgetConnMsg ¶
type NewChatMsg ¶
type NewMessageMsg ¶
type NewMessageMsg struct {
Message models.ChatMessage `json:"message"`
}
type StartWorkspaceMsg ¶
type StartWorkspaceMsg struct {
ID int64
}
type StopWorkspaceMsg ¶
type WorkspaceStatusUpdateMsg ¶
type WorkspaceStatusUpdateMsg struct {
Workspace *models.WorkspaceFrontend `json:"workspace"`
}
Click to show internal directories.
Click to hide internal directories.