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