Documentation ¶
Index ¶
- type Service
- func (s *Service) BatchUpdateDictStatus(ctx context.Context, req *dictapi.BatchUpdateDictStatusRequest) (*dictapi.BatchUpdateDictStatusReply, error)
- func (s *Service) CreateDict(ctx context.Context, req *dictapi.CreateDictRequest) (*dictapi.CreateDictReply, error)
- func (s *Service) DeleteDict(ctx context.Context, req *dictapi.DeleteDictRequest) (*dictapi.DeleteDictReply, error)
- func (s *Service) DictSelectList(ctx context.Context, req *dictapi.ListDictRequest) (*dictapi.DictSelectListReply, error)
- func (s *Service) GetDict(ctx context.Context, req *dictapi.GetDictRequest) (*dictapi.GetDictReply, error)
- func (s *Service) ListDict(ctx context.Context, req *dictapi.ListDictRequest) (*dictapi.ListDictReply, error)
- func (s *Service) ListDictType(ctx context.Context, _ *dictapi.ListDictTypeRequest) (*dictapi.ListDictTypeReply, error)
- func (s *Service) UpdateDict(ctx context.Context, req *dictapi.UpdateDictRequest) (*dictapi.UpdateDictReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { dictapi.UnimplementedDictServer // contains filtered or unexported fields }
Service 字典服务
func (*Service) BatchUpdateDictStatus ¶
func (s *Service) BatchUpdateDictStatus(ctx context.Context, req *dictapi.BatchUpdateDictStatusRequest) (*dictapi.BatchUpdateDictStatusReply, error)
BatchUpdateDictStatus 批量更新字典状态
func (*Service) CreateDict ¶
func (s *Service) CreateDict(ctx context.Context, req *dictapi.CreateDictRequest) (*dictapi.CreateDictReply, error)
CreateDict 创建字典
func (*Service) DeleteDict ¶
func (s *Service) DeleteDict(ctx context.Context, req *dictapi.DeleteDictRequest) (*dictapi.DeleteDictReply, error)
DeleteDict 删除字典
func (*Service) DictSelectList ¶
func (s *Service) DictSelectList(ctx context.Context, req *dictapi.ListDictRequest) (*dictapi.DictSelectListReply, error)
DictSelectList 获取字典下拉列表
func (*Service) GetDict ¶
func (s *Service) GetDict(ctx context.Context, req *dictapi.GetDictRequest) (*dictapi.GetDictReply, error)
GetDict 获取字典详情
func (*Service) ListDict ¶
func (s *Service) ListDict(ctx context.Context, req *dictapi.ListDictRequest) (*dictapi.ListDictReply, error)
ListDict 获取字典列表
func (*Service) ListDictType ¶
func (s *Service) ListDictType(ctx context.Context, _ *dictapi.ListDictTypeRequest) (*dictapi.ListDictTypeReply, error)
ListDictType 获取字典类型列表
func (*Service) UpdateDict ¶
func (s *Service) UpdateDict(ctx context.Context, req *dictapi.UpdateDictRequest) (*dictapi.UpdateDictReply, error)
UpdateDict 更新字典
Click to show internal directories.
Click to hide internal directories.