Versions in this module Expand all Collapse all v1 v1.0.0 Dec 13, 2017 Changes in this version + const ERR_FORBIDDEN + const ERR_PARAMETER + const ERR_UNAUTHORIZED + const KEY_BasicRole + const KEY_CasbinAnonymous + const KEY_Username + type ErrorMessage struct + ErrorDescription string + ErrorTitle string + func ErrForbidden() *ErrorMessage + func ErrParameter() *ErrorMessage + func ErrUnauthorized() *ErrorMessage + func (em *ErrorMessage) Error() string + type Policy struct + Method string + Path string + User string + type PolicyGroup struct + Group string + User string + type User struct + NewPassword string + Password string + Username string