ing
This commit is contained in:
parent
24ca9c8d4b
commit
fd618adec1
|
@ -8,15 +8,18 @@ import (
|
||||||
type CryptoType int
|
type CryptoType int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
CryptoTypeTLS CryptoType = iota
|
CryptoTypeNONE CryptoType = iota
|
||||||
|
CryptoTypeTLS
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
cryptoTypeID = map[CryptoType]string{
|
cryptoTypeID = map[CryptoType]string{
|
||||||
|
CryptoTypeNONE: "",
|
||||||
CryptoTypeTLS: "TLS",
|
CryptoTypeTLS: "TLS",
|
||||||
}
|
}
|
||||||
|
|
||||||
cryptoTypeName = map[string]CryptoType{
|
cryptoTypeName = map[string]CryptoType{
|
||||||
|
"": CryptoTypeNONE,
|
||||||
"TLS": CryptoTypeTLS,
|
"TLS": CryptoTypeTLS,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user