Versions in this module Expand all Collapse all v0 v0.7.1 Nov 1, 2026 v0.7.0 Nov 1, 2026 v0.6.0 Nov 1, 2026 v0.5.1 Oct 31, 2026 v0.5.0 Oct 30, 2026 v0.4.0 Oct 30, 2026 v0.3.0 Oct 30, 2026 v0.2.1 Oct 28, 2026 v0.2.0 Oct 28, 2026 v0.1.0 Oct 28, 2026 Changes in this version + const ScoreThreshold + const UploadSize + func Score(r Request) (int, []string) + type Credentials interface + Known func(container, via, sha256hex string) (on, ok bool) + type Decision struct + Class string + Code refusal.Code + NeverAuto bool + Reason string + Red bool + Rule string + Score int + Shadow Verdict + Verdict Verdict + Warnings []string + func Evaluate(p *policy.Policy, r Request, now time.Time, creds Credentials) Decision + func Floor(p *policy.Policy, r Request) (Decision, bool) + func Hard(p *policy.Policy, r Request) (Decision, bool) + type NoCredentials struct + func (NoCredentials) Known(string, string, string) (bool, bool) + type Phase string + const PhaseConnect + const PhaseHTTP + type Request struct + Body []byte + BodyLen int64 + Container string + Header http.Header + Host string + Method string + Path string + Phase Phase + Port int + RawQuery string + SNI string + TLS bool + Via string + type Verdict string + const Ask + const Deny + const Free