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