options

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// VhostRoot is apache virtual host root directory
	VhostRoot = "vhost_root"
	// ServerRoot is apache root directory
	ServerRoot = "server_root"
	// VhostFiles specifies config files for virtual host that will be used. By default all config files are used.
	VhostFiles = "vhost_files"
	// ApacheCtl is a command for apache2ctl execution or a path to apache2ctl bin
	ApacheCtl = "ctl"
	// SslVhostlExt postfix for config files of created SSL virtual hosts
	SslVhostlExt = "ssl_vhost_ext"
	// ApacheEnsite is a command for a2ensite command or a pth to a2ensite bin
	ApacheEnsite = "apache_ensite"
	// ApacheDissite is a command for a2dissite command or a pth to a2dissite bin
	ApacheDissite = "apache_dissite"
)

Variables

This section is empty.

Functions

func GetDefaults

func GetDefaults() map[string]string

GetDefaults returns ApacheConfigurator default options

func GetOption

func GetOption(name string, options map[string]string) string

GetOption returns option value

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL