This commit is contained in:
crusader 2018-04-28 00:23:30 +09:00
parent 24ca9c8d4b
commit fd618adec1

View File

@ -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,
}
)