Documentation
¶
Index ¶
- Variables
- func BatchAddCasBinPolices(e *casbin.Enforcer, pType string, rules [][]string) error
- func BatchRemoveCasBinPolices(e *casbin.Enforcer, pType string, rules [][]string) error
- func DiffUintSlice(oldList, newList []uint) (toDelete, toAdd []uint)
- func GenPassword(realPwd string) (encryptPwdBase, key, salt string)
- type ICPRecord
- type MpsRecord
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidPolicyType = errors.New("invalid policy type")
)
Functions ¶
func BatchAddCasBinPolices ¶ added in v1.0.90
func BatchRemoveCasBinPolices ¶ added in v1.0.90
func DiffUintSlice ¶ added in v1.0.89
func GenPassword ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.