chore: update doc and change package path

This commit is contained in:
nadoo committed 2022-04-05 09:30:04 +08:00
1 parent b0584be6cc
commit ed7ee6bcd4
13 files changed
+16 -17

No files matched your search

+2 -2
View File
@@ -6,8 +6,8 @@ import (
"net"
"strings"
"github.com/nadoo/glider/proxy/ss/cipher/internal/shadowaead"
"github.com/nadoo/glider/proxy/ss/cipher/internal/shadowstream"
"github.com/nadoo/glider/proxy/ss/cipher/shadowaead"
"github.com/nadoo/glider/proxy/ss/cipher/shadowstream"
)
// Cipher interface.
@@ -25,7 +25,6 @@ type writer struct {
io.Writer
cipher.AEAD
nonce [32]byte
buf []byte
}
// NewWriter wraps an io.Writer with AEAD encryption.