Versions in this module Expand all Collapse all v3 v3.4.1 Sep 11, 2022 Changes in this version + func NewAdapter(url string, timeout ...interface{}) (persist.BatchAdapter, error) + func NewAdapterWithClientOption(clientOption *options.ClientOptions, databaseName string, ...) (persist.BatchAdapter, error) + func NewAdapterWithCollectionName(clientOption *options.ClientOptions, databaseName string, ...) (persist.BatchAdapter, error) + func NewAdapterWithMongoClient(client *mongo.Client, timeout ...interface{}) (persist.BatchAdapter, error) + func NewFilteredAdapter(url string) (persist.FilteredAdapter, error) + type CasbinRule struct + PType string + V0 string + V1 string + V2 string + V3 string + V4 string + V5 string