go-agent: github.com/sqreen/go-agent

Directories

PathSynopsis
agent
agent/internal
agent/internal/actorPackage actor manages and associates IP addresses or user IDs to security actions such as redirecting, blacklisting or whitelisting.
agent/internal/app
agent/internal/backend
agent/internal/backend/api
agent/internal/config
agent/internal/httphandler
agent/internal/metricsPackage metrics provides shared metrics stores.
agent/internal/plog
agent/internal/ruleThis package manages the rules by instantiating the callbacks and attaching them to their corresponding hooks.
agent/internal/rule/callback
agent/sqlib/sqerrors
agent/sqlib/sqhookPackage sqhook provides a pure Go implementation of hooks to be inserted into function definitions in order to be able to attach at run time prolog and epilog callbacks getting read/write access to the arguments and returned values of the function call.
agent/sqlib/sqsafeThis package provides functions making sure panics are safely caught and do not break the running program.
agent/sqlib/sqtime
agent/typesThis package is the contract between the agent and the SDK.
sdk
sdk/middleware/sqecho
sdk/middleware/sqgin
sdk/middleware/sqgrpcThis package provides gRPC interceptors, which are Sqreen's middleware functions for gRPC allowing to monitor and protect the received requests.
sdk/middleware/sqhttp
tools/testlib

Updated 2019-07-25. Refresh now. Tools for package owners.