Initial commit
9 files changed
tree: 2a2a68eba0ff4746549036d4544fa562a912fa14
  1. examples/
  2. .gitignore
  3. .travis.yml
  4. adapter.go
  5. adapter_test.go
  6. LICENSE
  7. README.md
README.md

casbin-minio-adapter

License: MIT Build Status Coverage Status Godoc

Casbin adapter implementation using Minio/AWS S3

Installation

go get github.com/Soluto/casbin-minio-adapter

Usage

import (
	minioadapter "github.com/Soluto/casbin-minio-adapter"
	"github.com/casbin/casbin"
)

func main() {
	

	enforcerer := casbin.NewSyncedEnforcer("model.conf", "policy.csv")
}

Related pojects

Additional Usage Examples

For real-world example visit Tweek.

License

This project is under MIT License. See the LICENSE file for the full license text.