rename {New,GetOrCreate}Stream stream to {,GetOr}OpenStream

This commit is contained in:
Lucas Clemente
2016-05-15 18:51:23 +02:00
parent af522c1538
commit d469a19b62
4 changed files with 17 additions and 17 deletions

View File

@@ -18,7 +18,7 @@ type mockSession struct {
closed bool
}
func (s *mockSession) GetOrCreateStream(id protocol.StreamID) (utils.Stream, error) {
func (s *mockSession) GetOrOpenStream(id protocol.StreamID) (utils.Stream, error) {
return &mockStream{}, nil
}