Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostManager ¶
type HostManager struct {
// contains filtered or unexported fields
}
HostManager enables/disables host by creating/removing symlink for a configuration file
func GetHostManager ¶
func GetHostManager(enabledHostConfigDir string) (HostManager, error)
func (HostManager) Disable ¶
func (m HostManager) Disable(hostConfigPath string) error
path to "available" host config. For example /etc/.../sites-available/
func (HostManager) Enable ¶
func (m HostManager) Enable(hostConfigPath string) error
path to "available" host config. For example /etc/.../sites-available/
Click to show internal directories.
Click to hide internal directories.