frog

package
v0.0.0-...-4fc60a2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Actors    = make(map[string]Actor)
	Config    *ConfigType
	FlagDebug = false
)

Functions

func Register

func Register(name string, actor Actor)

Types

type Actor

type Actor interface {
	Parser(gopacket.Packet) (ResultType, TypeType)
	Performances() []func(gopacket.Packet, ResultType, TypeType)
}

type ConfigType

type ConfigType struct {
	Enabled []string `yaml:enabled`
}

type ResultType

type ResultType interface{}

type TypeType

type TypeType string

Jump to

Keyboard shortcuts

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