Documentation
¶
Index ¶
- func Main()
- func NewServer(cli *Cli) (*fuego.Server, net.Listener, error)
- func RegisterEndpoints(srv *fuego.Server, htp htpasswd.HTPasswd, zctl zone.Controller)
- type ACMEUpdateRequest
- type ACMEUpdateResponse
- type Cli
- type LegoHttpDefaultRequest
- type LegoHttpDefaultResponse
- type ZMUpdateRequest
- type ZMUpdateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEndpoints ¶
Types ¶
type ACMEUpdateRequest ¶
type ACMEUpdateResponse ¶
type ACMEUpdateResponse struct {
TXT string `json:"txt"`
}
type Cli ¶
type Cli struct {
Listen string `name:"listen" default:"localhost:9999" help:"Server listen address"`
AcceptProxy bool `name:"accept-proxy" help:"Accept PROXY protocol"`
ProxyHeaderTimeout time.Duration `name:"proxy-header-timeout" default:"10s" help:"Timeout for PROXY headers"`
HTPasswdFile string `short:"p" name:"htpasswd" required:"" type:"existingfile" placeholder:"FILE" help:"Passwords file (bcrypt only)"`
ZoneFiles []string `short:"z" name:"zone" required:"" type:"existingfile" placeholder:"FILE,..." help:"Zone files to update"`
Debug bool `name:"debug" help:"Enable debug logging"`
}
type LegoHttpDefaultRequest ¶
type LegoHttpDefaultResponse ¶ added in v0.8.0
NOTE: LEGO do not check responses, but acme.sh acmeproxy - expect to see copy of original message
type ZMUpdateRequest ¶ added in v0.9.0
type ZMUpdateResponse ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.