hosting

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package hosting is the extension emetos.hosting: the Sharing status item of every workspace (SPEC §10.29). It says whether Remote Work hosts the workspace, and its menu starts and stops it, so that nobody has to find a page or a tab to know or to change it. The item reads the hosting extension through extensions/internal/sharing; the extension itself keeps the listener, the keys and the commands (emetos.remotework.host, emetos.remotework.stopHosting, ...) that the menu runs.

Index

Constants

View Source
const (
	// ID is the id of the extension (SPEC §10.29; "emetos.sharing" is kept for the events of Emetos, so the extension is emetos.hosting).
	ID = "emetos.hosting"
	// ItemID is the id of its status bar item among the items of the extension; the bar knows it as "extension.emetos.hosting.status".
	ItemID = "status"
	// MenuCommand opens the menu of the item from the Command Palette. A client of a shared workspace may not run it (it starts with "emetos.hosting.").
	MenuCommand = "emetos.hosting.menu"
)

The ids of the extension.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory(hosts ...common.Host) extension.Factory

NewFactory makes the Factory of the extension over the extensions that host workspaces, in the order the menu lists them. The instances it makes, one for each workspace, share them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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