Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NginxConfigureBlock ¶
type NginxConfigureBlock []NginxConfigureCommand
NginxConfigureBlock represent a block in nginx configure file. The content of a nginx configure file should be a block.
func Parse ¶
func Parse(content []byte) (blk NginxConfigureBlock, err error)
Parse the content of nginx configure file into NginxConfigureBlock
type NginxConfigureCommand ¶
type NginxConfigureCommand struct { // Words compose the command Words []string // Block follow the command Block NginxConfigureBlock }
NginxConfigureCommand represenct a command in nginx configure file.
Click to show internal directories.
Click to hide internal directories.