Versions in this module Expand all Collapse all v0 v0.1.0 Mar 29, 2019 Changes in this version + type EnableActionBundle struct + ActionBundleId string + BindId string + CreateTime time.Time + EnableId string + func NewEnableActionBundle(bindId, actionBundleId string) *EnableActionBundle + type ModuleApi struct + ActionBundleId string + ActionBundleName string + ApiDescription string + ApiId string + ApiMethod string + FeatureId string + FeatureName string + GlobalAdminActionBundleVisibility bool + IsvActionBundleVisibility bool + ModuleId string + ModuleName string + Url string + UrlMethod string + UserActionBundleVisibility bool + func UniqueModuleApis(moduleApis []*ModuleApi) []*ModuleApi + type Role struct + Controller string + CreateTime time.Time + Description string + Owner string + OwnerPath string + Portal string + RoleId string + RoleName string + Status string + StatusTime time.Time + UpdateTime time.Time + func NewRole(roleName, description, portal, owner, ownerPath string) *Role + func UniqueRoles(roles []*Role) []*Role + func (p *Role) ToPB() *pb.Role + type RoleModuleBinding struct + BindId string + CreateTime time.Time + DataLevel string + IsCheckAll bool + ModuleId string + RoleId string + func NewRoleModuleBinding(roleId, moduleId, dataLevel string, isCheckAll bool) *RoleModuleBinding + type RoleWithUser struct + Role *Role + UserIds []string + func (p *RoleWithUser) ToPB() *pb.RoleWithUser + type UserRoleBinding struct + CreateTime time.Time + Id string + RoleId string + UserId string + func NewUserRoleBinding(userId, roleId string) *UserRoleBinding