reflection work so far...
This commit is contained in:
45
consts_param_map.go
Normal file
45
consts_param_map.go
Normal file
@@ -0,0 +1,45 @@
|
||||
package cryptparse
|
||||
|
||||
/*
|
||||
THIS FILE IS AUTOMATICALLY GENERATED.
|
||||
DO NOT EDIT.
|
||||
SEE internal/constmap/ FOR DETAILS.
|
||||
*/
|
||||
|
||||
var (
|
||||
// tlsUriParamStrMap contains a map of the constant string *name* of a tlsUriParam as mapped to its *value* (at time of generation).
|
||||
tlsUriParamStrMap map[string]string = map[string]string{
|
||||
"ParamCa": "pki_ca",
|
||||
"ParamCert": "pki_cert",
|
||||
"ParamCipher": "cipher",
|
||||
"ParamCurve": "curve",
|
||||
"ParamIgnoreMissing": "ignore_missing",
|
||||
"ParamKey": "pki_key",
|
||||
"ParamKeylog": "debug_keylog",
|
||||
"ParamMaxTls": "max_tls",
|
||||
"ParamMinTls": "min_tls",
|
||||
"ParamMtlsCa": "mtls_ca",
|
||||
"ParamMtlsMode": "mtls_auth",
|
||||
"ParamNet": "net",
|
||||
"ParamNoVerify": "no_verify",
|
||||
"ParamSni": "sni",
|
||||
}
|
||||
|
||||
// tlsUriStrParamMap contains a map of the *value* (at time of generation) of tlsUriParam constants to the constant string *name*.
|
||||
tlsUriStrParamMap map[string]string = map[string]string{
|
||||
"pki_ca": "ParamCa",
|
||||
"pki_cert": "ParamCert",
|
||||
"cipher": "ParamCipher",
|
||||
"curve": "ParamCurve",
|
||||
"ignore_missing": "ParamIgnoreMissing",
|
||||
"pki_key": "ParamKey",
|
||||
"debug_keylog": "ParamKeylog",
|
||||
"max_tls": "ParamMaxTls",
|
||||
"min_tls": "ParamMinTls",
|
||||
"mtls_ca": "ParamMtlsCa",
|
||||
"mtls_auth": "ParamMtlsMode",
|
||||
"net": "ParamNet",
|
||||
"no_verify": "ParamNoVerify",
|
||||
"sni": "ParamSni",
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user