Versions in this module Expand all Collapse all v0 v0.1.0 Jun 2, 2025 Changes in this version + var ProviderSet = wire.NewSet(NewAuthz, DefaultOptions) + type Authz struct + func NewAuthz(db *gorm.DB, opts ...Option) (*Authz, error) + func (a *Authz) Authorize(sub, obj, act string) (bool, error) + type Option func(*authzConfig) + func DefaultOptions() []Option + func WithAclModel(model string) Option + func WithAutoLoadPolicyTime(interval time.Duration) Option