internal

package
v0.0.0-...-5ef1e9d Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMessage

func NewMessage(msg *spoe.Message) (*message, error)

func NewRequest

func NewRequest(spoeMsg *spoe.Message) (*request, error)

func NewResponse

func NewResponse(spoeMsg *spoe.Message) (*response, error)

Types

type ArgNotFoundError

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

func (*ArgNotFoundError) Error

func (e *ArgNotFoundError) Error() string

type ErrorLogCallback

type ErrorLogCallback = func(rule types.MatchedRule)

TODO - in coraza v3 ErrorLogCallback is currently in the internal package

type SPOA

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

SPOA store the relevant data for starting SPOA.

func New

func New(conf *config.Config) (*SPOA, error)

New Create a new SPOA instance.

func (*SPOA) Start

func (s *SPOA) Start(bind string) error

Start starts the SPOA to detect the security risks.

Jump to

Keyboard shortcuts

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