Documentation
¶
Index ¶
- Constants
- Variables
- func AcquireWaveLock() (*os.File, error)
- func ClientArch() string
- func DetermineLang() string
- func EnsureConfigDirs() (string, error)
- func EnsureScreenDir(screenId string) (string, error)
- func EnsureSessionDir(sessionId string) (string, error)
- func GenWaveUUID() string
- func GetScreensDir() string
- func GetSessionsDir() string
- func GetWaveHomeDir() string
- func InitializeWaveAuthKey() error
- func IsDevMode() bool
- func LocalWaveshellBinaryPath() (string, error)
- func NumFormatB2(num int64) string
- func NumFormatDec(num int64) string
- func PtyOutFile(screenId string, lineId string) (string, error)
- func PtyOutFile_Sessions(sessionId string, cmdId string) (string, error)
- func UnameKernelRelease() string
- func WaveshellBinaryDir() string
- func WaveshellBinaryPath(version string, goos string, goarch string) (string, error)
- func WaveshellBinaryReader(version string, goos string, goarch string) (io.ReadCloser, error)
Constants ¶
View Source
const HomeVarName = "HOME"
View Source
const ScreensDirBaseName = "screens"
View Source
const SessionsDirBaseName = "sessions"
View Source
const WaveAppPathVarName = "WAVETERM_APP_PATH"
View Source
const WaveAuthKeyFileName = "waveterm.authkey"
View Source
const WaveDevDirName = ".waveterm-dev" // must match emain.ts
View Source
const WaveDevVarName = "WAVETERM_DEV"
View Source
const WaveDirName = ".waveterm" // must match emain.ts
View Source
const WaveHomeVarName = "WAVETERM_HOME"
View Source
const WaveLockFile = "waveterm.lock"
View Source
const WaveshellVersion = "v0.7.0" // must match base.WaveshellVersion
Variables ¶
View Source
var BaseLock = &sync.Mutex{}
View Source
var BuildTime = "-"
these are set by the main-server using build-time variables
View Source
var ScreenDirCache = make(map[string]string)
View Source
var SessionDirCache = make(map[string]string)
View Source
var WaveAuthKey string
initialized by InitialzeWaveAuthKey (called by main-server)
View Source
var WaveVersion = "-"
Functions ¶
func AcquireWaveLock ¶
func ClientArch ¶
func ClientArch() string
func DetermineLang ¶
func DetermineLang() string
func EnsureConfigDirs ¶
func EnsureScreenDir ¶
func GenWaveUUID ¶
func GenWaveUUID() string
func GetScreensDir ¶
func GetScreensDir() string
func NumFormatB2 ¶
func NumFormatDec ¶
func PtyOutFile_Sessions ¶
deprecated (v0.1.8)
func UnameKernelRelease ¶
func UnameKernelRelease() string
func WaveshellBinaryDir ¶
func WaveshellBinaryDir() string
func WaveshellBinaryPath ¶
func WaveshellBinaryReader ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.