mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-05 00:47:51 -05:00
fix type def
This commit is contained in:
parent
72339a3509
commit
187688cacb
@ -25,8 +25,8 @@ func (this NoOpAuthenticatorFactory) Create(config interface{}) internet.Authent
|
|||||||
|
|
||||||
type NoOpConnectionAuthenticator struct{}
|
type NoOpConnectionAuthenticator struct{}
|
||||||
|
|
||||||
func (NoOpConnectionAuthenticator) Open(reader io.Reader) (bool, io.Reader) {
|
func (NoOpConnectionAuthenticator) Open(reader io.Reader) (io.Reader, error) {
|
||||||
return true, reader
|
return reader, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (NoOpConnectionAuthenticator) Seal(writer io.Writer) io.Writer {
|
func (NoOpConnectionAuthenticator) Seal(writer io.Writer) io.Writer {
|
||||||
|
Loading…
Reference in New Issue
Block a user