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"`
}
Click to show internal directories.
Click to hide internal directories.