add CloseRemote method to stream

ref #109
This commit is contained in:
Lucas Clemente
2016-05-18 13:01:44 +02:00
parent ceb5ef48c4
commit b185ea04e1
5 changed files with 22 additions and 8 deletions

View File

@@ -88,11 +88,9 @@ func (s *mockStream) Write(p []byte) (int, error) {
return s.dataWritten.Write(p)
}
func (s *mockStream) Close() error {
panic("not implemented")
}
func (s mockStream) StreamID() protocol.StreamID { panic("not implemented") }
func (s *mockStream) Close() error { panic("not implemented") }
func (mockStream) CloseRemote(offset protocol.ByteCount) { panic("not implemented") }
func (s mockStream) StreamID() protocol.StreamID { panic("not implemented") }
var _ = Describe("Crypto setup", func() {
var (