source

package
v0.0.0-...-acc65bd Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HAProxySPOEName = "source.haproxy_spoe"
)
View Source
const (
	PCapName = "source.pcap"
)

Variables

This section is empty.

Functions

func NewHAProxySPOE

func NewHAProxySPOE(ctx mirror.ModuleContext, cfg []byte) (mirror.Module, error)

func NewPCap

func NewPCap(ctx mirror.ModuleContext, cfg []byte) (mirror.Module, error)

Types

type HAProxySPOE

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

func (*HAProxySPOE) Output

func (m *HAProxySPOE) Output() <-chan mirror.Request

func (*HAProxySPOE) SetInput

func (m *HAProxySPOE) SetInput(c <-chan mirror.Request)

type HAProxySPOEConfig

type HAProxySPOEConfig struct {
	ListenAddr string `json:"listen_addr"`
}

type PCap

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

func (*PCap) Output

func (m *PCap) Output() <-chan mirror.Request

func (*PCap) SetInput

func (m *PCap) SetInput(c <-chan mirror.Request)

type PCapConfig

type PCapConfig struct {
	Interface string `json:"interface,omitempty"`
	Port      int    `json:"port,omitempty"`
}

Jump to

Keyboard shortcuts

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