{"repo":"apache/casbin-redis-adapter","free":true,"listed":false,"github":"https://github.com/apache/casbin-redis-adapter","clone":"git clone https://github.com/apache/casbin-redis-adapter.git","description":"Redis adapter for Casbin","language":"Go","stars":200,"topics":["casbin","adapter","storage-driver","access-control","authorization","auth","authz","redis"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"Redis Adapter ==== Redis Adapter is the Redis adapter for Casbin. With this library, Casbin can load policy from Redis or save policy to it. Installation go get github.com/casbin/redis-adapter/v3 Configuration Options The Config struct supports the following options: - Network (string): Network type, e.g., \"tcp\", \"unix\" (required when not using Pool) - Address (string): Redis server address, e.g., \"127.0.0.1:6379\" (required when not using Pool) - Key (string): Redis key to store Casbin rules (default: \"casbin rules\") - Username (string): Username for Redis authentication (optional) - Password (string): Password for Redis authentication (optional) - TLSConfig ( tls.Config): TLS configuration for secure connections (optional) - Pool ( redis.Pool): Existing Redis connection pool (optional, if provided, other connection options are ignored) Usage Examples Basic Usage With Connection Pool 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-redis-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."}