Documentation ¶
Index ¶
Constants ¶
View Source
const ( GitlabLevelNoAuth = 0 GitlabLevelGuest = 10 GitlabLevelReporter = 20 GitlabLevelDeveloper = 30 GitlabLevelMaintainer = 40 GitlabLevelOwner = 50 )
Variables ¶
View Source
var ( // AppGroup .. AppGroup *appGroup ErrAppEnvNotExists = fmt.Errorf("应用环境不存在") )
View Source
var ( UserGroup *userGroup DefaultUserGroup = "default" ErrUserGroupNotFund = fmt.Errorf("用户组不存在") ErrInvalidAppPerm = fmt.Errorf("无效的应用权限Key") ErrInvalidAPIPerm = fmt.Errorf("无效的接口权限") )
View Source
var (
Permission *permission
)
View Source
var (
User *user
)
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.