Versions in this module Expand all Collapse all v0 v0.0.18 Feb 12, 2026 Changes in this version + type Ability struct + func For(engine *Engine, remoteAddr string) *Ability + func (a *Ability) AuthorizeTimeline(ctx context.Context) error + func (a *Ability) AuthorizeWrite(ctx context.Context, entity *pb.Entity) error + func (a *Ability) CanRead(ctx context.Context, entity *pb.Entity) bool + type Connection struct + SourceIP string + type Engine struct + func NewEngine(filePath string) (*Engine, error) + func (e *Engine) Close() error + func (e *Engine) Evaluate(ctx context.Context, input *Input) (bool, error) + type Entity struct + Components []int + ID string + type Input struct + Action string + Connection Connection + Entity Entity