mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-05-17 14:47:15 +00:00
21 lines
271 B
Go
21 lines
271 B
Go
package api
|
|
|
|
import (
|
|
"bufio"
|
|
"plugin"
|
|
)
|
|
|
|
type Extension struct {
|
|
Name string
|
|
Path string
|
|
Plug *plugin.Plugin
|
|
Ports []string
|
|
Dissector Dissector
|
|
}
|
|
|
|
type Dissector interface {
|
|
Register(*Extension)
|
|
Ping()
|
|
Dissect(b *bufio.Reader) interface{}
|
|
}
|