22 lines
431 B
Go
22 lines
431 B
Go
package config
|
|
|
|
type Config struct {
|
|
CA CA
|
|
Mapping map[string]string
|
|
WellKnownDir string
|
|
NFS NFSConfig
|
|
}
|
|
|
|
type CA struct {
|
|
CacheDir string
|
|
Email string
|
|
}
|
|
|
|
type NFSConfig struct {
|
|
Enabled bool `toml:"enabled"`
|
|
Server string `toml:"server"`
|
|
ExportPath string `toml:"export_path"`
|
|
MountPoint string `toml:"mount_point"`
|
|
Options string `toml:"options"`
|
|
}
|