base

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConnectionModePacket = "packet"
	ConnectionModeLog    = "log"
)

Connection mode constants

View Source
const AppRunIdEnvName = "OUTRIG_APPRUNID"
View Source
const DefaultDomainSocketName = "/outrig.sock"

Domain socket name (just the filename part)

View Source
const DefaultTCPAddr = ProdTCPAddr
View Source
const DefaultTCPPort = ProdTCPPort

Default constants for backward compatibility

View Source
const DevOutrigHome = "~/.outrig-dev"
View Source
const DevTCPAddr = "http://localhost:6005"
View Source
const DevTCPPort = 6005

Development ports

View Source
const ExternalLogCaptureEnvName = "OUTRIG_EXTERNALLOGCAPTURE"

Environment variables

View Source
const OutrigHome = "~/.outrig"

Home directory paths

View Source
const ProdTCPAddr = "http://localhost:5005"
View Source
const ProdTCPPort = 5005

Default production ports

Variables

This section is empty.

Functions

func GetDomainSocketNameForClient

func GetDomainSocketNameForClient(isDev bool) string

GetDomainSocketNameForClient returns the full domain socket path for client

func GetOutrigHomeForClient

func GetOutrigHomeForClient(isDev bool) string

GetOutrigHomeForClient returns the appropriate home directory based on client config

func GetTCPAddrForClient

func GetTCPAddrForClient(isDev bool) string

GetTCPAddrForClient returns the appropriate TCP address based on client config

Types

This section is empty.

Jump to

Keyboard shortcuts

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