Versions in this module Expand all Collapse all v1 v1.0.0 Jul 31, 2023 Changes in this version + type Authentication interface + AddPolicies func(rules [][]string) (bool, error) + AddPoliciesEx func(rules [][]string) (bool, error) + AddPolicy func(params ...any) (bool, error) + GetCasbinEnforcer func() *casbin.Enforcer + GetFilteredPolicy func(fieldIndex int, fieldValues ...string) [][]string + RemovePolicies func(rules [][]string) (bool, error) + RemovePolicy func(params ...any) (bool, error) + func NewAuthentication(rep repository.Repository) (Authentication, error) + type CasbinRule struct + ID uint + Ptype string + V0 string + V1 string + V2 string + V3 string + V4 string + V5 string