Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApacheSite ¶
type ApacheSite struct {
// contains filtered or unexported fields
}
Site implements functionality for site enabling/disabling
func GetApacheSite ¶
func GetApacheSite() (ApacheSite, error)
func (ApacheSite) Disable ¶
func (s ApacheSite) Disable(hostConfigName string) error
Disable disables site via a2dissite utility
func (ApacheSite) Enable ¶
func (s ApacheSite) Enable(hostConfigPath string) error
Enable enables site via a2ensite utility
Click to show internal directories.
Click to hide internal directories.