config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

View Source
const (
	ElevenConfigDirPath = "/eleven"

	ElevenAgentConfigDirPath  = ElevenConfigDirPath + "/agent"
	ElevenAgentConfigFilePath = ElevenAgentConfigDirPath + "/config.json"

	VSCodeConfigDirPath = ElevenConfigDirPath + "/vscode"

	ElevenUserName        = "eleven"
	ElevenUserHomeDirPath = "/home/" + ElevenUserName
	ElevenUserShellPath   = "/usr/bin/zsh"

	WorkspaceDirPath = ElevenUserHomeDirPath + "/workspace"
)
View Source
const (
	GRPCServerAddrProtocol = "unix"
	GRPCServerAddr         = ElevenAgentConfigDirPath + "/grpc-server.sock"
	GRPCServerURI          = "unix://" + GRPCServerAddr
)
View Source
const (
	HTTPServerListenPort  = "80"
	HTTPSServerListenPort = "443"
	CaddyAPIListenPort    = "2019"
)
View Source
const (
	DefaultSSHServerListenPort = "22"
	SSHServerListenPort        = "2200"
	SSHServerListenAddr        = ":" + SSHServerListenPort
	SSHServerHostKeyFilePath   = ElevenUserHomeDirPath + "/.ssh/eleven-ssh-server-host-key"

	ElevenUserAuthorizedSSHKeysFilePath = ElevenUserHomeDirPath + "/.ssh/authorized_keys"
	GitHubPublicSSHKeyFilePath          = ElevenUserHomeDirPath + "/.ssh/" + ElevenUserName + "-github.pub"
)

Variables

Functions

func GetVSCodeWorkspaceConfigFilePath

func GetVSCodeWorkspaceConfigFilePath(envName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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