forked from security/hakurei
Having it at the project root never made sense since the "ego" name was deprecated. This change finally addresses it. Signed-off-by: Ophestra <cat@gensokyo.uk>
12 lines
394 B
Go
12 lines
394 B
Go
package hst
|
|
|
|
// Paths contains environment-dependent paths used by hakurei.
|
|
type Paths struct {
|
|
// path to shared directory (usually `/tmp/hakurei.%d`)
|
|
SharePath string `json:"share_path"`
|
|
// XDG_RUNTIME_DIR value (usually `/run/user/%d`)
|
|
RuntimePath string `json:"runtime_path"`
|
|
// application runtime directory (usually `/run/user/%d/hakurei`)
|
|
RunDirPath string `json:"run_dir_path"`
|
|
}
|