Documentation ¶
Index ¶
- type Service
- func (s *Service) AddResourcesToRole(request []base.CabinInReceive, grpcService contract.ServiceGrpc, ...) error
- func (s *Service) AddRole(dataMap map[string]interface{}, grpcService contract.ServiceGrpc, ...) error
- func (s *Service) DeleteRole(ids string, grpcService contract.ServiceGrpc, param ...interface{}) error
- func (s *Service) GetRepository() *base.Repository
- func (s *Service) GetRoleById(id string, grpcService contract.ServiceGrpc) ([]map[string]interface{}, error)
- func (s *Service) GetRoleList(request base.PageRequest, grpcService contract.ServiceGrpc, ...) (base.PageResult, error)
- func (s *Service) GetRolesResource(name string, domain string, grpcService contract.ServiceGrpc, ...) ([]map[string]interface{}, error)
- func (s *Service) ModifyRole(mapData map[string]interface{}, grpcService contract.ServiceGrpc, ...) error
- func (s *Service) SetRepository(model interface{}) *base.Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) AddResourcesToRole ¶
func (s *Service) AddResourcesToRole(request []base.CabinInReceive, grpcService contract.ServiceGrpc, param ...interface{}) error
func (*Service) AddRole ¶
func (s *Service) AddRole(dataMap map[string]interface{}, grpcService contract.ServiceGrpc, param ...interface{}) error
func (*Service) DeleteRole ¶
func (s *Service) DeleteRole(ids string, grpcService contract.ServiceGrpc, param ...interface{}) error
func (*Service) GetRepository ¶
func (s *Service) GetRepository() *base.Repository
func (*Service) GetRoleById ¶
func (*Service) GetRoleList ¶
func (s *Service) GetRoleList(request base.PageRequest, grpcService contract.ServiceGrpc, param ...interface{}) (base.PageResult, error)
func (*Service) GetRolesResource ¶
func (*Service) ModifyRole ¶
func (s *Service) ModifyRole(mapData map[string]interface{}, grpcService contract.ServiceGrpc, param ...interface{}) error
func (*Service) SetRepository ¶
func (s *Service) SetRepository(model interface{}) *base.Repository
Click to show internal directories.
Click to hide internal directories.