Versions in this module Expand all Collapse all v0 v0.2.0 Nov 12, 2026 v0.1.0 Nov 8, 2026 Changes in this version + func Register(c Control) + type Check interface + Check func(ctx context.Context, r *Request) Result + type Control interface + Compile func(op Operation, raw json.RawMessage) (Check, error) + Info func() Info + func Extensions() []Control + type Info struct + ID string + Phase Phase + Version string + func Registered() []Info + type Operation struct + API string + ID string + Method string + Target string + type Phase int + const Authorise + const Identity + const Ingress + const Traffic + const Validate + func (p Phase) String() string + type Request struct + API string + ClientAddress string + Header http.Header + Method string + Operation string + Path string + Roles []string + Subject string + type Result struct + func Fail(reason string) Result + func Pass() Result + func Refuse(status int, code string) Result + func (r Result) Code() string + func (r Result) Failed() bool + func (r Result) Passed() bool + func (r Result) Reason() string + func (r Result) Refused() bool + func (r Result) Status() int + type Table struct + func NewTable[K comparable, V any](max int) *Table[K, V] + func (t *Table[K, V]) Delete(key K) + func (t *Table[K, V]) Len() int + func (t *Table[K, V]) Update(key K, change func(current V, found bool) V) bool