Documentation ¶
Index ¶
- Constants
- func DefaultConfigDir() string
- type Config
- func (c *Config) CertUpdater() string
- func (c *Config) CopyFrom(m *dbschema.NgingVhostServer)
- func (c *Config) FixEngineConfigFile(deleteMode ...bool) (bool, error)
- func (c *Config) GetCertPathFormat(ctx echo.Context) engine.CertPathFormat
- func (c *Config) GetVhostConfigDirAbs() (string, error)
- func (c *Config) GetVhostConfigLocalDirAbs() (string, error)
- func (c *Config) Init() error
- func (c *Config) OnVhostConfigSaving(id uint, formData *form.Values) error
- func (c *Config) Quit(ctx context.Context) error
- func (c *Config) Reload(ctx context.Context) error
- func (c *Config) RemoveCertFile(id uint) error
- func (c *Config) RemoveVhostConfig(id uint) error
- func (c *Config) RenewCert(ctx echo.Context, id uint, domains []string, email string, isObtain bool) error
- func (c *Config) Reopen(ctx context.Context) error
- func (c *Config) Start(ctx context.Context) error
- func (c *Config) Stop(ctx context.Context) error
- func (c *Config) TestConfig(ctx context.Context) error
Constants ¶
View Source
const Name = `nginx`
Variables ¶
This section is empty.
Functions ¶
func DefaultConfigDir ¶ added in v1.4.7
func DefaultConfigDir() string
Types ¶
type Config ¶
type Config struct { Version string CertPathFormat engine.CertPathFormatWithUpdater *engine.CommonConfig }
func (*Config) CertUpdater ¶ added in v1.4.11
func (*Config) CopyFrom ¶ added in v1.4.7
func (c *Config) CopyFrom(m *dbschema.NgingVhostServer)
func (*Config) FixEngineConfigFile ¶ added in v1.4.7
func (*Config) GetCertPathFormat ¶ added in v1.4.7
func (c *Config) GetCertPathFormat(ctx echo.Context) engine.CertPathFormat
func (*Config) GetVhostConfigDirAbs ¶ added in v1.4.7
func (*Config) GetVhostConfigLocalDirAbs ¶ added in v1.4.7
func (*Config) OnVhostConfigSaving ¶ added in v1.4.7
func (*Config) RemoveCertFile ¶ added in v1.4.7
func (*Config) RemoveVhostConfig ¶ added in v1.4.7
Click to show internal directories.
Click to hide internal directories.