github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/option/tls_acme.go (about) 1 package option 2 3 type InboundACMEOptions struct { 4 Domain Listable[string] `json:"domain,omitempty"` 5 DataDirectory string `json:"data_directory,omitempty"` 6 DefaultServerName string `json:"default_server_name,omitempty"` 7 Email string `json:"email,omitempty"` 8 Provider string `json:"provider,omitempty"` 9 DisableHTTPChallenge bool `json:"disable_http_challenge,omitempty"` 10 DisableTLSALPNChallenge bool `json:"disable_tls_alpn_challenge,omitempty"` 11 AlternativeHTTPPort uint16 `json:"alternative_http_port,omitempty"` 12 AlternativeTLSPort uint16 `json:"alternative_tls_port,omitempty"` 13 ExternalAccount *ACMEExternalAccountOptions `json:"external_account,omitempty"` 14 } 15 16 type ACMEExternalAccountOptions struct { 17 KeyID string `json:"key_id,omitempty"` 18 MACKey string `json:"mac_key,omitempty"` 19 }