Documentation ¶
Overview ¶
Package appsec provides a simple Application Security Monitoring API for serverless.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(demux aggregator.Demultiplexer) (lp *httpsec.ProxyLifecycleProcessor, err error)
func NewWithShutdown ¶
func NewWithShutdown(demux aggregator.Demultiplexer) (lp *httpsec.ProxyLifecycleProcessor, shutdown func(context.Context) error, err error)
NewWithShutdown returns a new httpsec.ProxyLifecycleProcessor and a shutdown function that can be called to terminate the started proxy (releasing the bound port and closing the AppSec instance). This is mainly intended to be called in test code so that goroutines and ports are not leaked, but can be used in other code paths when it is useful to be able to perform a clean shut down.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package config defines configuration utilities for appsec
|
Package config defines configuration utilities for appsec |
Package httpsec defines is the HTTP instrumentation API and contract for AppSec.
|
Package httpsec defines is the HTTP instrumentation API and contract for AppSec. |
Click to show internal directories.
Click to hide internal directories.