vsc

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const VSCODE_UPDATE_URL = "https://update.code.visualstudio.com"

Variables

Functions

func Run

func Run(args []string) error

Types

type ServeWebArgs

type ServeWebArgs struct {
	Relay                    *tags.SpaceSeparatedStrings `json:"relay"`
	Log                      *string                     `json:"log"`
	Verbose                  *bool                       `json:"verbose"`
	Version                  *bool                       `json:"version"`
	Quality                  *string                     `json:"quality"`
	Host                     *string                     `json:"host"`
	SocketPath               *string                     `json:"socketPath"`
	Port                     *int                        `json:"port"`
	ConnectionToken          *string                     `json:"connectionToken"`
	ConnectionTokenFile      *string                     `json:"connectionTokenFile"`
	WithoutConnectionToken   *bool                       `json:"withoutConnectionToken"`
	AcceptServerLicenseTerms *bool                       `json:"acceptServerLicenseTerms"` // ignored
	ServerBasePath           *string                     `json:"serverBasePath"`
	ServerDataDir            *string                     `json:"serverDataDir"`
	UserDataDir              *string                     `json:"userDataDir"`
	ExtensionsDir            *string                     `json:"extensionsDir"`
}

func Parse

func Parse(args []string) (*ServeWebArgs, error)

type VersionInfo

type VersionInfo struct {
	Name           string `json:"name"`
	Version        string `json:"version"`
	ProductVersion string `json:"productVersion"`
	Timestamp      int64  `json:"timestamp"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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