refactor: centralize protobuf and remove go-zero
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.
|
||||
// source: store.proto
|
||||
// source: module/ec/mall/proto/store.proto
|
||||
|
||||
/*
|
||||
Package mall is a reverse proxy.
|
||||
@@ -9,6 +9,7 @@ It translates gRPC into RESTful JSON APIs.
|
||||
package mall
|
||||
|
||||
import (
|
||||
"bsm/full/protobuf"
|
||||
"context"
|
||||
"errors"
|
||||
"io"
|
||||
@@ -91,7 +92,7 @@ func local_request_Store_Licensing_0(ctx context.Context, marshaler runtime.Mars
|
||||
|
||||
func request_Store_GetSetting_0(ctx context.Context, marshaler runtime.Marshaler, client StoreClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var (
|
||||
protoReq IdentRequest
|
||||
protoReq blocks.IdentRequest
|
||||
metadata runtime.ServerMetadata
|
||||
)
|
||||
if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && !errors.Is(err, io.EOF) {
|
||||
@@ -106,7 +107,7 @@ func request_Store_GetSetting_0(ctx context.Context, marshaler runtime.Marshaler
|
||||
|
||||
func local_request_Store_GetSetting_0(ctx context.Context, marshaler runtime.Marshaler, server StoreServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var (
|
||||
protoReq IdentRequest
|
||||
protoReq blocks.IdentRequest
|
||||
metadata runtime.ServerMetadata
|
||||
)
|
||||
if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && !errors.Is(err, io.EOF) {
|
||||
@@ -199,7 +200,7 @@ func local_request_Store_SetEmail_0(ctx context.Context, marshaler runtime.Marsh
|
||||
|
||||
func request_Store_GetPayment_0(ctx context.Context, marshaler runtime.Marshaler, client StoreClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var (
|
||||
protoReq IdentRequest
|
||||
protoReq blocks.IdentRequest
|
||||
metadata runtime.ServerMetadata
|
||||
)
|
||||
if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && !errors.Is(err, io.EOF) {
|
||||
@@ -214,7 +215,7 @@ func request_Store_GetPayment_0(ctx context.Context, marshaler runtime.Marshaler
|
||||
|
||||
func local_request_Store_GetPayment_0(ctx context.Context, marshaler runtime.Marshaler, server StoreServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var (
|
||||
protoReq IdentRequest
|
||||
protoReq blocks.IdentRequest
|
||||
metadata runtime.ServerMetadata
|
||||
)
|
||||
if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && !errors.Is(err, io.EOF) {
|
||||
@@ -226,7 +227,7 @@ func local_request_Store_GetPayment_0(ctx context.Context, marshaler runtime.Mar
|
||||
|
||||
func request_Store_GetEmail_0(ctx context.Context, marshaler runtime.Marshaler, client StoreClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var (
|
||||
protoReq IdentRequest
|
||||
protoReq blocks.IdentRequest
|
||||
metadata runtime.ServerMetadata
|
||||
)
|
||||
if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && !errors.Is(err, io.EOF) {
|
||||
@@ -241,7 +242,7 @@ func request_Store_GetEmail_0(ctx context.Context, marshaler runtime.Marshaler,
|
||||
|
||||
func local_request_Store_GetEmail_0(ctx context.Context, marshaler runtime.Marshaler, server StoreServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var (
|
||||
protoReq IdentRequest
|
||||
protoReq blocks.IdentRequest
|
||||
metadata runtime.ServerMetadata
|
||||
)
|
||||
if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && !errors.Is(err, io.EOF) {
|
||||
|
||||
Reference in New Issue
Block a user