{"repo":"apache/casbin-xorm-adapter","free":true,"listed":false,"github":"https://github.com/apache/casbin-xorm-adapter","clone":"git clone https://github.com/apache/casbin-xorm-adapter.git","description":"Xorm adapter for Casbin","language":"Go","stars":382,"topics":["casbin","adapter","storage-driver","xorm","orm","access-control","authorization"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Xorm Adapter Xorm Adapter is the Xorm adapter for Casbin. With this library, Casbin can load policy from Xorm supported database or save policy to it. Based on Xorm Drivers Support, The current supported databases are: - Mysql: github.com/go-sql-driver/mysql - MyMysql: github.com/ziutek/mymysql - Postgres: github.com/lib/pq - Tidb: github.com/pingcap/tidb - SQLite: github.com/mattn/go-sqlite3 - MsSql: github.com/denisenkom/go-mssqldb - Oracle: github.com/mattn/go-oci8 (experiment) Installation go get github.com/apache/casbin-xorm-adapter/v3 Simple MySQL Example Simple Postgres Example Context Adapter xormadapter supports adapter with context, the following is a timeout control implemented using context Getting Help - Casbin License This project is under Apache 2.0 License. See the LICENSE file for the full license text.","default_branch":null,"files":null,"tree":[],"storefront":"/r/apache","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apache/casbin-xorm-adapter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}