Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // WriteHTTPConfig writes the http config on the file system. // The name distinguishes this config among all other configs. For that, it must be unique. // Note that name is not the name of the corresponding configuration file. WriteHTTPConfig(name string, cfg []byte) error }
Manager manages NGINX configuration files.
type ManagerImpl ¶
type ManagerImpl struct{}
ManagerImpl is an implementation of Manager.
func NewManagerImpl ¶
func NewManagerImpl() *ManagerImpl
NewManagerImpl creates a new NewManagerImpl.
func (*ManagerImpl) WriteHTTPConfig ¶ added in v0.2.0
func (m *ManagerImpl) WriteHTTPConfig(name string, cfg []byte) error
Click to show internal directories.
Click to hide internal directories.