websocket

package
v0.0.0-...-9cb16bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoomNewEventWebsocketValue

type RoomNewEventWebsocketValue struct {
	RoomID    string   `json:"room_id"`
	SenderID  string   `json:"sender_id"`
	UserIDs   []string `json:"user_ids"`
	EventType string   `json:"event"`
}

type RoomNewMessageWebsocketValue

type RoomNewMessageWebsocketValue struct {
	SenderID string      `json:"sender_id"`
	RoomID   string      `json:"room_id"`
	Users    []string    `json:"room_users"`
	Message  interface{} `json:"message"`
}

type RoomUserJoinedWebsocketValue

type RoomUserJoinedWebsocketValue struct {
	Username string   `json:"username"`
	UserID   string   `json:"user_id"`
	Users    []string `json:"room_users"`
	RoomID   string   `json:"room_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL