paths

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package paths resolves the directories plexd uses by default on the host it runs on: the configuration directory, the data directory and the runtime directory, plus the files the rest of the agent derives from them.

Every value is a default. --config, PLEXD_CONFIG, the YAML keys and the PLEXD_* environment overrides replace it, and they take precedence on every platform. The per-platform values are listed in docs/reference/core/configuration.md under "Platform defaults".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigDir

func ConfigDir() string

ConfigDir returns the default configuration directory.

func ConfigFile

func ConfigFile() string

ConfigFile returns the default path of config.yaml.

func DataDir

func DataDir() string

DataDir returns the default data directory. It is never the same directory as ConfigDir: plexd deregister --purge removes the data directory whole, so an equal pair would take config.yaml down with the identity.

func HooksDir

func HooksDir() string

HooksDir returns the default hook script directory.

func RunDir

func RunDir() string

RunDir returns the default runtime directory.

func SocketPath

func SocketPath() string

SocketPath returns the default address of the local node API: a Unix socket path, or the named pipe `\\.\pipe\plexd` on Windows.

func TokenFile

func TokenFile() string

TokenFile returns the default bootstrap token file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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