Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetXdgCacheHome ¶
func GetXdgCacheHome() string
func GetXdgDataHome ¶
func GetXdgDataHome() string
func GetXdgStateHome ¶
func GetXdgStateHome() string
Types ¶
type CrksftConfig ¶
type CrksftConfig struct { InstalledAutostart bool Plugins map[string]CrksftConfigPlugin `toml:"plugins"` // contains filtered or unexported fields }
func NewCrksftConfig ¶
func NewCrksftConfig(dataDir string) (*CrksftConfig, bool, error)
func (*CrksftConfig) UpdatePlugin ¶
func (c *CrksftConfig) UpdatePlugin(pluginId string, newConfig CrksftConfigPlugin) error
func (*CrksftConfig) Write ¶
func (c *CrksftConfig) Write() error
type CrksftConfigPlugin ¶
type CrksftConfigPlugin struct {
Enabled bool `toml:"enabled"`
}
Click to show internal directories.
Click to hide internal directories.