/
types_paths.go
46 lines (32 loc) · 1.08 KB
/
types_paths.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package types
// PathConfig contains the path configuration for the application.
type PathConfig struct {
// Token is the app token.
Token string
// Home is the path to the system, root, data directory.
Home string
// Etc is the path to the etc directory.
Etc string
// Lib is the path to the lib directory.
Lib string
// Log is the path to the log directory.
Log string
// Run is the path to the run directory.
Run string
// TLS is the path to the tls directory.
TLS string
// DefaultTLSCertFile is the path to the default TLS cert file.
DefaultTLSCertFile string
// DefaultTLSKeyFile is the path to the default TLS key file.
DefaultTLSKeyFile string
// DefaultTLSTrustedRootsFile is the path to the default TLS trusted roots
// file.
DefaultTLSTrustedRootsFile string
// DefaultTLSKnownHosts is the default path to the TLS known hosts file.
DefaultTLSKnownHosts string
// UserHome is the path to the user, root, data directory.
UserHome string
// UserDefaultTLSKnownHosts is the default path to the user, TLS known
// hosts file.
UserDefaultTLSKnownHosts string
}