mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-01 19:06:43 +00:00
20 lines
1 KiB
Go
20 lines
1 KiB
Go
|
package option
|
||
|
|
||
|
type InboundACMEOptions struct {
|
||
|
Domain Listable[string] `json:"domain,omitempty"`
|
||
|
DataDirectory string `json:"data_directory,omitempty"`
|
||
|
DefaultServerName string `json:"default_server_name,omitempty"`
|
||
|
Email string `json:"email,omitempty"`
|
||
|
Provider string `json:"provider,omitempty"`
|
||
|
DisableHTTPChallenge bool `json:"disable_http_challenge,omitempty"`
|
||
|
DisableTLSALPNChallenge bool `json:"disable_tls_alpn_challenge,omitempty"`
|
||
|
AlternativeHTTPPort uint16 `json:"alternative_http_port,omitempty"`
|
||
|
AlternativeTLSPort uint16 `json:"alternative_tls_port,omitempty"`
|
||
|
ExternalAccount *ACMEExternalAccountOptions `json:"external_account,omitempty"`
|
||
|
}
|
||
|
|
||
|
type ACMEExternalAccountOptions struct {
|
||
|
KeyID string `json:"key_id,omitempty"`
|
||
|
MACKey string `json:"mac_key,omitempty"`
|
||
|
}
|