Versions in this module Expand all Collapse all v0 v0.0.1 Dec 19, 2023 Changes in this version + type Persistence struct + func New(ctx context.Context, wg *sync.WaitGroup, config configuration.Config) (result *Persistence, err error) + func (p *Persistence) Create(policy ladon.Policy) error + func (p *Persistence) Delete(id string) error + func (p *Persistence) FindRequestCandidates(r *ladon.Request) (ladon.Policies, error) + func (p *Persistence) Get(id string) (ladon.Policy, error) + func (p *Persistence) GetAll(limit, offset int64) (ladon.Policies, error) + func (p *Persistence) IsAllowed(r *ladon.Request) (err error) + func (p *Persistence) IsAnyAllowed(r []ladon.Request) (err error) + func (p *Persistence) Update(policy ladon.Policy) error