source

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 19 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) Children

func (m *HAProxySPOE) Children() [][]mirror.Module

func (*HAProxySPOE) Context

func (m *HAProxySPOE) Context() *mirror.ModuleContext

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"`
	Mapping    map[string]string
}

type PCap

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

func (*PCap) Children

func (m *PCap) Children() [][]mirror.Module

func (*PCap) Context

func (m *PCap) Context() *mirror.ModuleContext

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