path

package
v5.10.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: MIT, MIT, MIT Imports: 4 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SystemCacheDir

func SystemCacheDir(exeName string) string

SystemCacheDir returns the path to the sensu cache directory based on the runtime OS

func SystemConfigDir

func SystemConfigDir() string

SystemConfigDir returns the path to the sensu config directory based on the runtime OS

func SystemDataDir

func SystemDataDir(exeName string) string

SystemDataDir returns the path to the data (state) directory based on the runtime OS

func SystemLogDir

func SystemLogDir() string

SystemLogDir returns the path to the log directory based on the runtime OS

func SystemPidDir

func SystemPidDir() string

SystemPidDir returns the path to the pid directory based on the runtime OS

func UserCacheDir

func UserCacheDir(exeName string) string

UserCacheDir returns the path to the current user's cache directory based on the runtime OS

func UserConfigDir

func UserConfigDir(exeName string) string

UserConfigDir returns the path to the current user's config directory based on the runtime OS

Types

This section is empty.

Jump to

Keyboard shortcuts

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