Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerInfo ¶
type Session ¶
type Session struct {
Config *SessionConfig
DataBuffer chan *model.SpyEvent
Sig chan os.Signal
// contains filtered or unexported fields
}
func NewSession ¶
func NewSession(name string, config *SessionConfig, buf chan *model.SpyEvent) *Session
func (*Session) ConsumeEvent ¶
type SessionConfig ¶
type SessionReader ¶
type SessionReader struct {
ReaderType ReaderType
Limiter *rate.Limiter
BpfReader BpfReader
BufSize int
Data any
DataChan chan any
}
func NewSessionReader ¶
func (*SessionReader) DataRead ¶
func (reader *SessionReader) DataRead() (any, error)
Click to show internal directories.
Click to hide internal directories.