Skip to content

Commit

Permalink
remove dummy Close method from protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
seletskiy committed Jun 10, 2016
1 parent 7ec5c8f commit bd5a446
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sync_protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ func newSyncProtocol() *syncProtocol {
}
}

// Close is currently noop.
func (protocol *syncProtocol) Close() error {
return nil
}

// Init starts protocol and sends HELLO message to the writer. Specified writer
// will be used in all further communications.
func (protocol *syncProtocol) Init(output io.WriteCloser) error {
Expand Down

0 comments on commit bd5a446

Please sign in to comment.