Documentation ¶
Index ¶
- func Init()
- type Service
- func (s *Service) AddRole(ctx context.Context, in *adminproto.AddRoleInput, out *adminproto.CommonOutput) error
- func (s *Service) DeleteRole(ctx context.Context, in *adminproto.DeleteRoleInput, ...) error
- func (s *Service) EditRole(ctx context.Context, in *adminproto.EditRoleInput, ...) error
- func (s *Service) GetAccessList(ctx context.Context, in *adminproto.GetAccessListInput, ...) error
- func (s *Service) GetRoleList(ctx context.Context, in *adminproto.GetRoleListInput, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct{}
func (*Service) AddRole ¶
func (s *Service) AddRole(ctx context.Context, in *adminproto.AddRoleInput, out *adminproto.CommonOutput) error
func (*Service) DeleteRole ¶
func (s *Service) DeleteRole(ctx context.Context, in *adminproto.DeleteRoleInput, out *adminproto.CommonOutput) error
func (*Service) EditRole ¶
func (s *Service) EditRole(ctx context.Context, in *adminproto.EditRoleInput, out *adminproto.CommonOutput) error
func (*Service) GetAccessList ¶
func (s *Service) GetAccessList(ctx context.Context, in *adminproto.GetAccessListInput, out *adminproto.CommonOutput) error
func (*Service) GetRoleList ¶
func (s *Service) GetRoleList(ctx context.Context, in *adminproto.GetRoleListInput, out *adminproto.CommonOutput) error
Click to show internal directories.
Click to hide internal directories.