Documentation ¶
Index ¶
- type RemarkRpcServer
- func (s *RemarkRpcServer) AddRemark(ctx context.Context, in *remarkrpc.RemarkNewReq) (*remarkrpc.RemarkDetails, error)
- func (s *RemarkRpcServer) DeleteRemark(ctx context.Context, in *remarkrpc.IdsReq) (*remarkrpc.BatchResp, error)
- func (s *RemarkRpcServer) FindRemarkList(ctx context.Context, in *remarkrpc.FindRemarkListReq) (*remarkrpc.FindRemarkListResp, error)
- func (s *RemarkRpcServer) GetRemark(ctx context.Context, in *remarkrpc.IdReq) (*remarkrpc.RemarkDetails, error)
- func (s *RemarkRpcServer) UpdateRemark(ctx context.Context, in *remarkrpc.RemarkUpdateReq) (*remarkrpc.RemarkDetails, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemarkRpcServer ¶
type RemarkRpcServer struct { remarkrpc.UnimplementedRemarkRpcServer // contains filtered or unexported fields }
func NewRemarkRpcServer ¶
func NewRemarkRpcServer(svcCtx *svc.ServiceContext) *RemarkRpcServer
func (*RemarkRpcServer) AddRemark ¶
func (s *RemarkRpcServer) AddRemark(ctx context.Context, in *remarkrpc.RemarkNewReq) (*remarkrpc.RemarkDetails, error)
创建留言
func (*RemarkRpcServer) DeleteRemark ¶
func (s *RemarkRpcServer) DeleteRemark(ctx context.Context, in *remarkrpc.IdsReq) (*remarkrpc.BatchResp, error)
删除留言
func (*RemarkRpcServer) FindRemarkList ¶
func (s *RemarkRpcServer) FindRemarkList(ctx context.Context, in *remarkrpc.FindRemarkListReq) (*remarkrpc.FindRemarkListResp, error)
查询留言列表
func (*RemarkRpcServer) GetRemark ¶
func (s *RemarkRpcServer) GetRemark(ctx context.Context, in *remarkrpc.IdReq) (*remarkrpc.RemarkDetails, error)
查询留言
func (*RemarkRpcServer) UpdateRemark ¶
func (s *RemarkRpcServer) UpdateRemark(ctx context.Context, in *remarkrpc.RemarkUpdateReq) (*remarkrpc.RemarkDetails, error)
更新留言
Click to show internal directories.
Click to hide internal directories.