Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigSource ¶
type ConfigSource struct {
ConfigRepo *repo.ConfigRepo `inject:""`
}
func (*ConfigSource) GetSources ¶
func (s *ConfigSource) GetSources() ([]model.SysConfig, error)
type MockJsExpressionSource ¶
type MockJsExpressionSource struct {
MockJsExpressionRepo *repo.MockJsRepo `inject:""`
}
func (*MockJsExpressionSource) GetSources ¶
func (s *MockJsExpressionSource) GetSources() (ret []model.MockJsExpression, err error)
type PermSource ¶
func (*PermSource) GetSources ¶
func (s *PermSource) GetSources() []model.SysPerm
type ProjectMenuSource ¶
type ProjectMenuSource struct {
ProjectMenuRepo *repo2.ProjectMenuRepo `inject:""`
}
type ProjectPermSource ¶
type ProjectPermSource struct {
ProjectPermRepo *repo.ProjectPermRepo `inject:""`
}
func (*ProjectPermSource) GetSources ¶
func (s *ProjectPermSource) GetSources() []model.ProjectPerm
type ProjectRoleMenuSource ¶
type ProjectRoleMenuSource struct {
ProjectRoleMenuRepo *repo.ProjectRoleMenuRepo `inject:""`
}
func (*ProjectRoleMenuSource) GetSources ¶
func (s *ProjectRoleMenuSource) GetSources(tenantId consts.TenantId) (res []model.ProjectRoleMenu, err error)
type ProjectRolePermSource ¶
type ProjectRolePermSource struct {
ProjectRolePermRepo *repo2.ProjectRolePermRepo `inject:""`
}
func (*ProjectRolePermSource) GetSources ¶
type ProjectRoleSource ¶
type ProjectRoleSource struct { ProjectRoleRepo *repo2.ProjectRoleRepo `inject:""` PermRepo *repo2.PermRepo `inject:""` }
func (*ProjectRoleSource) GetSources ¶
func (s *ProjectRoleSource) GetSources() (sources []model.ProjectRole, err error)
type RoleSource ¶
type RoleSource struct { RoleRepo *repo2.RoleRepo `inject:""` PermRepo *repo2.PermRepo `inject:""` }
func (*RoleSource) GetSources ¶
type SampleSource ¶
type SampleSource struct { }
type SysAgentSource ¶
type SysAgentSource struct {
AgentRepo *repo.SysAgentRepo `inject:""`
}
func (*SysAgentSource) GetSources ¶
type SysConfigSource ¶
type SysConfigSource struct {
ConfigRepo *repo.ConfigRepo `inject:""`
}
func (*SysConfigSource) GetSources ¶
func (s *SysConfigSource) GetSources() (configs []model.SysConfig, err error)
type UserSource ¶
type UserSource struct { UserRepo *repo2.UserRepo `inject:""` RoleRepo *repo2.RoleRepo `inject:""` ProjectRepo *repo2.ProjectRepo `inject:""` }
func (*UserSource) GetSources ¶
Click to show internal directories.
Click to hide internal directories.