Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NginxVersion ¶
type NginxVersion struct { Full string Version string Detail string IsPlus bool AdditionalDetail []string ConfigureArgs *orderedmap.OrderedMap }
NginxVersion contains details parsed from the "nginx -v" command.
func ReadNginxVersion ¶
func ReadNginxVersion(nginxBinPath string) (NginxVersion, error)
ReadNginxVersion parses the output of the "nginx -V" command into a consumable data structure.
func (NginxVersion) Info ¶
func (nv NginxVersion) Info() string
Info contains a dump of all version information.
func (NginxVersion) String ¶
func (nv NginxVersion) String() string
Click to show internal directories.
Click to hide internal directories.