Call SetProtocol in AMQP faster and remove GetProtocol method (#1097)

* Call `SetProtocol` in AMQP faster and remove `GetProtocol` method

* #run_acceptance_tests

* Remove the unused fields from the test mocks #run_acceptance_tests
This commit is contained in:
M. Mert Yıldıran
2022-05-19 00:07:40 -07:00
committed by GitHub
parent ab38f4c011
commit 522e2cc3da
10 changed files with 6 additions and 56 deletions

View File

@@ -8,7 +8,6 @@ import (
type tcpStream struct {
isClosed bool
protocol *api.Protocol
isTapTarget bool
origin api.Capture
reqResMatchers []api.RequestResponseMatcher
@@ -27,10 +26,6 @@ func (t *tcpStream) GetOrigin() api.Capture {
return t.origin
}
func (t *tcpStream) GetProtocol() *api.Protocol {
return t.protocol
}
func (t *tcpStream) GetReqResMatchers() []api.RequestResponseMatcher {
return t.reqResMatchers
}