Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartCapture ¶
Types ¶
type Capture ¶
type Capture struct { *CaptureInfo `json:"CaptureInfo,omitempty"` Stats Stats `json:"Stats,omitempty"` }
type CaptureInfo ¶
type SocketCapture ¶
type SocketCapture struct { Captures []*Capture `json:"captures,omitempty"` // contains filtered or unexported fields }
func NewSocketCapture ¶
func NewSocketCapture(level logrus.Level) *SocketCapture
func (*SocketCapture) AddCapture ¶
func (s *SocketCapture) AddCapture(c *Capture)
func (*SocketCapture) MetricServer ¶
func (s *SocketCapture) MetricServer()
func (*SocketCapture) StartCapture ¶
func (s *SocketCapture) StartCapture(url string, ch chan []byte)
Click to show internal directories.
Click to hide internal directories.