Documentation ¶
Index ¶
- func ProjectInfoToApi(pb *sys.ProjectInfo, ui *sys.UserInfo) *types.ProjectInfo
- func ProjectInfosToApi(pb []*sys.ProjectInfo) (ret []*types.ProjectInfo)
- func ToMenuInfoApi(i *sys.MenuInfo) *types.MenuInfo
- func ToMenuInfosApi(i []*sys.MenuInfo) (ret []*types.MenuInfo)
- func ToSysWithIDCode(in *types.WithIDOrCode) *sys.WithIDCode
- func ToTenantAppMenuApi(i *sys.TenantAppMenu) *types.TenantAppMenu
- func ToTenantAppMenusApi(i []*sys.TenantAppMenu) (ret []*types.TenantAppMenu)
- func ToTenantCoreTypes(in *sys.TenantInfo) *types.TenantCore
- func ToTenantInfoRpc(in *types.TenantInfo) *sys.TenantInfo
- func ToTenantInfoTypes(in *sys.TenantInfo, user *sys.UserInfo) *types.TenantInfo
- func ToTenantInfosTypes(in []*sys.TenantInfo, userMap map[int64]*sys.UserInfo) []*types.TenantInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProjectInfoToApi ¶
func ProjectInfoToApi(pb *sys.ProjectInfo, ui *sys.UserInfo) *types.ProjectInfo
func ProjectInfosToApi ¶
func ProjectInfosToApi(pb []*sys.ProjectInfo) (ret []*types.ProjectInfo)
func ToSysWithIDCode ¶
func ToSysWithIDCode(in *types.WithIDOrCode) *sys.WithIDCode
func ToTenantAppMenuApi ¶
func ToTenantAppMenuApi(i *sys.TenantAppMenu) *types.TenantAppMenu
func ToTenantAppMenusApi ¶
func ToTenantAppMenusApi(i []*sys.TenantAppMenu) (ret []*types.TenantAppMenu)
func ToTenantCoreTypes ¶
func ToTenantCoreTypes(in *sys.TenantInfo) *types.TenantCore
func ToTenantInfoRpc ¶
func ToTenantInfoRpc(in *types.TenantInfo) *sys.TenantInfo
func ToTenantInfoTypes ¶
func ToTenantInfoTypes(in *sys.TenantInfo, user *sys.UserInfo) *types.TenantInfo
func ToTenantInfosTypes ¶
func ToTenantInfosTypes(in []*sys.TenantInfo, userMap map[int64]*sys.UserInfo) []*types.TenantInfo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.