fix multi-service method

This commit is contained in:
unknown 2023-12-28 10:34:39 +03:30
parent a9d165b21b
commit a0208ca666

View file

@ -51,6 +51,7 @@ func NewMultiService[U comparable](method string, iPSK []byte, udpTimeout int64,
switch method {
case "2022-blake3-aes-128-gcm":
case "2022-blake3-aes-256-gcm":
case "2022-blake3-chacha20-poly1305":
default:
return nil, os.ErrInvalid
}