Documentation ¶
Overview ¶
Package dolon is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Curlify ¶
func Curlify(httpSession *types.HttpSession) string
Curlify takes an HttpSession and returns a curl command that approxiamtes the http request
Types ¶
type MockSource ¶
type MockSource struct {
// contains filtered or unexported fields
}
MockSource is a mock of Source interface
func NewMockSource ¶
func NewMockSource(ctrl *gomock.Controller) *MockSource
NewMockSource creates a new mock instance
func (*MockSource) Device ¶
func (m *MockSource) Device(arg0, arg1 string) error
Device mocks base method
func (*MockSource) EXPECT ¶
func (m *MockSource) EXPECT() *MockSourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSource) TcpSessionChan ¶
func (m *MockSource) TcpSessionChan() chan *types.TcpSession
TcpSessionChan mocks base method
type MockSourceMockRecorder ¶
type MockSourceMockRecorder struct {
// contains filtered or unexported fields
}
MockSourceMockRecorder is the mock recorder for MockSource
func (*MockSourceMockRecorder) Device ¶
func (mr *MockSourceMockRecorder) Device(arg0, arg1 interface{}) *gomock.Call
Device indicates an expected call of Device
func (*MockSourceMockRecorder) Pcap ¶
func (mr *MockSourceMockRecorder) Pcap(arg0, arg1 interface{}) *gomock.Call
Pcap indicates an expected call of Pcap
func (*MockSourceMockRecorder) TcpSessionChan ¶
func (mr *MockSourceMockRecorder) TcpSessionChan() *gomock.Call
TcpSessionChan indicates an expected call of TcpSessionChan
type PacketProcessor ¶
type PacketProcessor struct {
// contains filtered or unexported fields
}
func NewProcessor ¶
func NewProcessor() *PacketProcessor
func (*PacketProcessor) HttpSessionChan ¶
func (p *PacketProcessor) HttpSessionChan() chan *types.HttpSession
func (*PacketProcessor) StartProcessingTcpSessions ¶
func (p *PacketProcessor) StartProcessingTcpSessions(source interfaces.Source)
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
func (*Source) TcpSessionChan ¶
func (s *Source) TcpSessionChan() chan *types.TcpSession
TcpSessionChan returns a channel of type.TcpSession
Click to show internal directories.
Click to hide internal directories.