storagepcap

package
v0.0.0-...-0a64cdf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2020 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PluginClass registered
	PluginClass = "storagepcap"
)

Variables

This section is empty.

Functions

func Builder

func Builder() builder.BuildPluginFn

Builder returns a builder function

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin implements packetsniff.Plugin interface

func New

func New(id string, w capture.Writer, f filter.Filter, stop bool) *Plugin

New instance a new plugin with the capture writer passed

func (*Plugin) CleanUp

func (p *Plugin) CleanUp()

CleanUp implements packetproc.Plugin interface

func (*Plugin) GetID

func (p *Plugin) GetID() string

GetID implements plugin.Plugin interface

func (*Plugin) Name

func (p *Plugin) Name() string

Name implements packetsniff.Plugin interface

func (*Plugin) RegisterHooks

func (p *Plugin) RegisterHooks(hooks *packetsniff.Hooks)

RegisterHooks implements packetproc.Plugin interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL