Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ctl ¶
type Ctl struct {
BinPath string
}
Ctl implements functions to work with apachectl cli utility
func GetApacheCtl ¶
GetApacheCtl returns apache2/httpd manager
func (*Ctl) GetVersion ¶
GetVersion returns apache version
func (*Ctl) ParseDefines ¶
ParseDefines return the list of loaded module names.
func (*Ctl) ParseIncludes ¶
ParseIncludes returns Include directives from httpd process and returns a list of their values.
func (*Ctl) ParseModules ¶
ParseModules returns a map of the defined variables.
func (*Ctl) TestConfiguration ¶
TestConfiguration checks the syntax of apache configuration files
Click to show internal directories.
Click to hide internal directories.