room

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DASHBOARD_WS_URL = "%s://%s:%s/teams/%s/room/websocketConnection/dashboard"
View Source
const DEFAULT_SERVER_ADDRESS = "localhost"
View Source
const DEFAULT_WEBSOCKET_PORT = "8000"
View Source
const ILLA_DEPLOY_MODE_CLOUD = "cloud"
View Source
const ILLA_DEPLOY_MODE_SELF_HOST = "self-host"
View Source
const PROTOCOL_WEBSOCKET = "ws"
View Source
const PROTOCOL_WEBSOCKET_OVER_TLS = "wss"
View Source
const ROOM_WS_URL = "%s://%s:%s/teams/%s/room/websocketConnection/apps/%s"
View Source
const SELF_HOST_DASHBOARD_WS_URL = "/builder-ws/teams/%s/room/websocketConnection/dashboard"
View Source
const SELF_HOST_ROOM_WS_URL = "/builder-ws/teams/%s/room/websocketConnection/apps/%s"

Variables

This section is empty.

Functions

This section is empty.

Types

type RoomService

type RoomService interface {
	GetDashboardConn(teamID int) (WSURLResponse, error)
	GetAppRoomConn(teamID int, roomID int) (WSURLResponse, error)
}

type RoomServiceImpl

type RoomServiceImpl struct {
	// contains filtered or unexported fields
}

func NewRoomServiceImpl

func NewRoomServiceImpl(logger *zap.SugaredLogger) *RoomServiceImpl

func (*RoomServiceImpl) GetAppRoomConn

func (impl *RoomServiceImpl) GetAppRoomConn(teamID int, roomID int) (WSURLResponse, error)

func (*RoomServiceImpl) GetDashboardConn

func (impl *RoomServiceImpl) GetDashboardConn(teamID int) (WSURLResponse, error)

type WSURLResponse

type WSURLResponse struct {
	WSURL string `json:"wsURL"`
}

Jump to

Keyboard shortcuts

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