1 Star 0 Fork 0

jason-laf/mxshop

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
goods.go 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
jason-laf 提交于 2024-03-09 01:39 . u
package handler
import (
"context"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"gitee.com/jason-laf/common/pb/goods"
)
type GoodsServer struct {
goods.UnimplementedGoodsServer
}
func (GoodsServer) GetGoodsFilterList(context.Context, *goods.GetGoodsFilterListRequest) (*goods.GoodsListResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetGoodsFilterList not implemented")
}
func (GoodsServer) GetBatchGoodsList(context.Context, *goods.GetBatchGoodsListRequest) (*goods.GoodsListResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetBatchGoodsList not implemented")
}
func (GoodsServer) GetGoodsDetail(context.Context, *goods.GetGoodsDetailRequest) (*goods.GoodsInfoResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetGoodsDetail not implemented")
}
func (GoodsServer) CreateGoods(context.Context, *goods.CreateGoodsRequest) (*goods.GoodsInfoResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateGoods not implemented")
}
func (GoodsServer) UpdateGoods(context.Context, *goods.CreateGoodsRequest) (*goods.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateGoods not implemented")
}
func (GoodsServer) DeleteGoods(context.Context, *goods.DeleteGoodsRequest) (*goods.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteGoods not implemented")
}
func (GoodsServer) Ping(context.Context, *goods.Empty) (*goods.Empty, error) {
return &goods.Empty{}, nil
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jason-laf/mxshop.git
git@gitee.com:jason-laf/mxshop.git
jason-laf
mxshop
mxshop
d54e58f0fab9

搜索帮助

0d507c66 1850385 C8b1a773 1850385