Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface { // Generate generates NGINX configuration from internal representation. Generate(configuration state.Configuration) []byte }
Generator generates NGINX configuration. This interface is used for testing purposes only.
type GeneratorImpl ¶
type GeneratorImpl struct{}
GeneratorImpl is an implementation of Generator.
func NewGeneratorImpl ¶
func NewGeneratorImpl() GeneratorImpl
NewGeneratorImpl creates a new GeneratorImpl.
func (GeneratorImpl) Generate ¶
func (g GeneratorImpl) Generate(conf state.Configuration) []byte
Source Files
¶
Click to show internal directories.
Click to hide internal directories.