marimo

package
v0.5.22 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenOption        = "OPEN"
	AccessToken       = "ACCESS_TOKEN"
	BindAddressOption = "BIND_ADDRESS"
)
View Source
const DefaultServerPort = 10710

Variables

View Source
var Options = ide.Options{
	BindAddressOption: {
		Name:        BindAddressOption,
		Description: "The address to bind the server to locally. E.g. 0.0.0.0:12345",
		Default:     "",
	},
	AccessToken: {
		Name:        AccessToken,
		Description: "Access token to authenticate with the server",
		Default:     "NhLpVl4re5PFd3QRFxvQ",
	},
	OpenOption: {
		Name:        OpenOption,
		Description: "If DevPod should automatically open the browser",
		Default:     "true",
		Enum: []string{
			"true",
			"false",
		},
	},
}

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(workspaceFolder, userName string, opts map[string]config.OptionValue, log log.Logger) *Server

func (*Server) Install

func (s *Server) Install() error

Jump to

Keyboard shortcuts

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