mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
fix type def
This commit is contained in:
@@ -25,8 +25,8 @@ func (this NoOpAuthenticatorFactory) Create(config interface{}) internet.Authent
|
||||
|
||||
type NoOpConnectionAuthenticator struct{}
|
||||
|
||||
func (NoOpConnectionAuthenticator) Open(reader io.Reader) (bool, io.Reader) {
|
||||
return true, reader
|
||||
func (NoOpConnectionAuthenticator) Open(reader io.Reader) (io.Reader, error) {
|
||||
return reader, nil
|
||||
}
|
||||
|
||||
func (NoOpConnectionAuthenticator) Seal(writer io.Writer) io.Writer {
|
||||
|
||||
Reference in New Issue
Block a user