Documentation ¶
Index ¶
- type Listen
- type NginxDirective
- type NginxHost
- type Parser
- func (p *Parser) AddServerDirectives(host *NginxHost, directives []*NginxDirective, insertAtTop bool) error
- func (p *Parser) Dump() error
- func (p *Parser) GetChangedFiles() []string
- func (p *Parser) GetHosts() ([]NginxHost, error)
- func (p *Parser) Parse() error
- func (p *Parser) UpdateOrAddServerDirectives(host *NginxHost, directives []*NginxDirective, insertAtTop bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NginxDirective ¶
func (*NginxDirective) AddValues ¶
func (d *NginxDirective) AddValues(values ...string)
type NginxHost ¶
func (NginxHost) IsIpv6Only ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) AddServerDirectives ¶
func (p *Parser) AddServerDirectives(host *NginxHost, directives []*NginxDirective, insertAtTop bool) error
func (*Parser) GetChangedFiles ¶
func (*Parser) UpdateOrAddServerDirectives ¶
func (p *Parser) UpdateOrAddServerDirectives(host *NginxHost, directives []*NginxDirective, insertAtTop bool) error
Click to show internal directories.
Click to hide internal directories.