Documentation
¶
Index ¶
- Variables
- func GetCertificateDirectoryPath(p *project.Project) string
- func GetCertificatesDirectory(p *project.Project) string
- func GetSnakeoilPaths() (string, string)
- type Module
- func (Module) Deploy(_modulesSettings interface{}) error
- func (m Module) Destroy(_modulesSettings interface{}) error
- func (Module) GetConfig() system.ModuleConfig
- func (Module) GetTemplates() *embed.FS
- func (Module) Init(moduleSettings interface{})
- func (Module) Install(_modulesSettings interface{}) error
- type ModuleSettings
- type NginxConfig
- type Options
- type Paths
Constants ¶
This section is empty.
Variables ¶
View Source
var AcmeChallengesDirectory = config.RootDirectory + "/acme-challenges"
View Source
var CertificatesDirectory = config.RootDirectory + "/certificates"
Functions ¶
func GetSnakeoilPaths ¶
Types ¶
type Module ¶
type Module struct {
}
func (Module) GetConfig ¶
func (Module) GetConfig() system.ModuleConfig
func (Module) GetTemplates ¶
type ModuleSettings ¶
type ModuleSettings struct {
CertificatesEmail string
Config NginxConfig
}
type NginxConfig ¶
type NginxConfig struct {
User string
ConfPath string
VhostPath string
ErrorLog string
AccessLog string
PidFile string
WorkerProcesses string
ExtraConfOptions map[string]string
ExtraConfHttpOptions map[string]string
WorkerConnections int
MultiAccept string
MimeFilePath string
ServerNamesHashBucketSize int
ClientMaxBodySize string
Sendfile string
TcpNopush string
TcpNodelay string
ServerTokens string
ProxyCachePath string
KeepaliveTimeout int
KeepaliveRequests int
TypesHashMaxSize int
}
func (*NginxConfig) SetDefaults ¶
func (c *NginxConfig) SetDefaults()
Click to show internal directories.
Click to hide internal directories.