fix type def

pull/314/head
Darien Raymond 2016-11-01 00:42:44 +01:00
parent 72339a3509
commit 187688cacb
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 2 additions and 2 deletions

View File

@ -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 {