Versions in this module Expand all Collapse all v1 v1.0.0 May 31, 2023 Changes in this version + type CasbinOption struct + Driver string + ModelFile string + MySQL *MySQLOptions + PolicyFile string + func NewCabinOption() *CasbinOption + func (o *CasbinOption) AddFlags(fs *pflag.FlagSet) + func (o *CasbinOption) Enabled() bool + func (o *CasbinOption) Validate() error + type MySQLOptions struct + Host string + Password string + Port string + Username string + func NewMySQLOptions() *MySQLOptions + func (o *MySQLOptions) AddFlags(fs *pflag.FlagSet) + func (o *MySQLOptions) Validate() error + type Options struct + Casbin *CasbinOption + func NewOptions() *Options + func (o *Options) AddFlags(fs *pflag.FlagSet) + func (o *Options) Validate() error