Documentation ¶
Index ¶
- func Exists(name string) (bool, error)
- type Config
- type FilePluginsConfig
- func (s *FilePluginsConfig) Disable(names ...string)
- func (s *FilePluginsConfig) Enable(names ...string)
- func (s *FilePluginsConfig) List() (idxEnable []string, idxDisable []string)
- func (s *FilePluginsConfig) Load() error
- func (s *FilePluginsConfig) Save(saveEnable bool) error
- func (s *FilePluginsConfig) State() (pl map[string]bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FilePluginsConfig ¶
type FilePluginsConfig struct { Dir string Filename string IdxEnable map[string]bool IdxDisable map[string]bool }
func (*FilePluginsConfig) Disable ¶
func (s *FilePluginsConfig) Disable(names ...string)
func (*FilePluginsConfig) Enable ¶
func (s *FilePluginsConfig) Enable(names ...string)
func (*FilePluginsConfig) List ¶
func (s *FilePluginsConfig) List() (idxEnable []string, idxDisable []string)
func (*FilePluginsConfig) Load ¶
func (s *FilePluginsConfig) Load() error
func (*FilePluginsConfig) Save ¶
func (s *FilePluginsConfig) Save(saveEnable bool) error
func (*FilePluginsConfig) State ¶
func (s *FilePluginsConfig) State() (pl map[string]bool)
Click to show internal directories.
Click to hide internal directories.