1
0
Fork 0
mirror of https://github.com/SamTherapy/dnscrypt.git synced 2024-12-22 08:50:43 +00:00

golint issues

This commit is contained in:
Andrey Meshkov 2018-12-17 02:34:23 +03:00
parent 0f4b899065
commit 6c1e0b5828

View file

@ -20,13 +20,16 @@ import (
"golang.org/x/crypto/nacl/secretbox"
)
// Encryption algorithm (either XSalsa20Poly1305 or XChacha20Poly1305)
// CryptoConstruction represents the encryption algorithm (either XSalsa20Poly1305 or XChacha20Poly1305)
type CryptoConstruction uint16
const (
UndefinedConstruction CryptoConstruction = iota // Default value for empty CertInfo only
XSalsa20Poly1305 // Salsa20Poly1305 encryption
XChacha20Poly1305 // Chacha20Poly1305 encryption
// Default value for empty CertInfo only
UndefinedConstruction CryptoConstruction = iota
// Salsa20Poly1305 encryption
XSalsa20Poly1305
// Chacha20Poly1305 encryption
XChacha20Poly1305
)
var (