Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChallenger ¶
func NewChallenger(config *ChallengerConfig) (certifier.ACMEChallenger, error)
Types ¶
type ChallengerConfig ¶
type ChallengerConfig struct {
// FTP 主机。
FtpHost string `json:"ftpHost,omitempty"`
// FTP 端口。
// 零值时默认值 21。
FtpPort int32 `json:"ftpPort,omitempty"`
// FTP 登录用户名。
FtpUsername string `json:"ftpUsername,omitempty"`
// FTP 登录密码。
FtpPassword string `json:"ftpPassword,omitempty"`
// 网站根目录路径。
WebRootPath string `json:"webRootPath"`
}
Click to show internal directories.
Click to hide internal directories.