diff --git a/core/constants/network-crypto.go b/core/constants/network-crypto.go index fe54cf2..71485ea 100644 --- a/core/constants/network-crypto.go +++ b/core/constants/network-crypto.go @@ -8,15 +8,18 @@ import ( type CryptoType int const ( - CryptoTypeTLS CryptoType = iota + CryptoTypeNONE CryptoType = iota + CryptoTypeTLS ) var ( cryptoTypeID = map[CryptoType]string{ - CryptoTypeTLS: "TLS", + CryptoTypeNONE: "", + CryptoTypeTLS: "TLS", } cryptoTypeName = map[string]CryptoType{ + "": CryptoTypeNONE, "TLS": CryptoTypeTLS, } )