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 ¶
View Source
var EnvReservedPorts = []string{ DefaultSSHServerListenPort, SSHServerListenPort, HTTPServerListenPort, HTTPSServerListenPort, CaddyAPIListenPort, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.