File: doc.go

package info (click to toggle)
golang-github-crowdsecurity-go-cs-bouncer 0.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 940 kB
  • sloc: makefile: 4
file content (8 lines) | stat: -rw-r--r-- 434 bytes parent folder | download
1
2
3
4
5
6
7
8
//Package go-cs-bouncer implements a wrapper for the CrowdSec bouncer API.
//
//It can be used to create 2 types of bouncer:
//
// - A stream bouncer: in this mode, decisions are fetched in bulk at regular intervals. A `Stream` chan is exposed by the struct to allow you to read the decisions.
//
// - A live bouncer: in this mode, you must call the Get() method to check if an IP has a decision associated with it.
package csbouncer