refactor: centralize protobuf and remove go-zero

This commit is contained in:
2026-08-09 15:10:19 +08:00
parent 5cc5fd92ed
commit 4bbed3156c
357 changed files with 14208 additions and 19903 deletions

View File

@@ -1,12 +1,13 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.8
// protoc (unknown)
// source: wallet.proto
// protoc-gen-go v1.36.11
// protoc v7.35.0
// source: module/finance/wallet/proto/wallet.proto
package wallet
import (
protobuf "bsm/full/protobuf"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
@@ -35,7 +36,7 @@ type GetWalletRequest struct {
func (x *GetWalletRequest) Reset() {
*x = GetWalletRequest{}
mi := &file_wallet_proto_msgTypes[0]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -47,7 +48,7 @@ func (x *GetWalletRequest) String() string {
func (*GetWalletRequest) ProtoMessage() {}
func (x *GetWalletRequest) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[0]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -60,7 +61,7 @@ func (x *GetWalletRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetWalletRequest.ProtoReflect.Descriptor instead.
func (*GetWalletRequest) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{0}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{0}
}
func (x *GetWalletRequest) GetIsTotalTodayIn() bool {
@@ -124,7 +125,7 @@ type GetWalletReply struct {
func (x *GetWalletReply) Reset() {
*x = GetWalletReply{}
mi := &file_wallet_proto_msgTypes[1]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -136,7 +137,7 @@ func (x *GetWalletReply) String() string {
func (*GetWalletReply) ProtoMessage() {}
func (x *GetWalletReply) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[1]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -149,7 +150,7 @@ func (x *GetWalletReply) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetWalletReply.ProtoReflect.Descriptor instead.
func (*GetWalletReply) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{1}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{1}
}
func (x *GetWalletReply) GetPassportIdentity() string {
@@ -243,7 +244,7 @@ type TransactionsRequest struct {
func (x *TransactionsRequest) Reset() {
*x = TransactionsRequest{}
mi := &file_wallet_proto_msgTypes[2]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -255,7 +256,7 @@ func (x *TransactionsRequest) String() string {
func (*TransactionsRequest) ProtoMessage() {}
func (x *TransactionsRequest) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[2]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -268,7 +269,7 @@ func (x *TransactionsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use TransactionsRequest.ProtoReflect.Descriptor instead.
func (*TransactionsRequest) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{2}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{2}
}
func (x *TransactionsRequest) GetTransType() int64 {
@@ -323,7 +324,7 @@ type TransactionsReply struct {
func (x *TransactionsReply) Reset() {
*x = TransactionsReply{}
mi := &file_wallet_proto_msgTypes[3]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -335,7 +336,7 @@ func (x *TransactionsReply) String() string {
func (*TransactionsReply) ProtoMessage() {}
func (x *TransactionsReply) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[3]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -348,7 +349,7 @@ func (x *TransactionsReply) ProtoReflect() protoreflect.Message {
// Deprecated: Use TransactionsReply.ProtoReflect.Descriptor instead.
func (*TransactionsReply) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{3}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{3}
}
func (x *TransactionsReply) GetTotal() int64 {
@@ -383,7 +384,7 @@ type Transaction struct {
func (x *Transaction) Reset() {
*x = Transaction{}
mi := &file_wallet_proto_msgTypes[4]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -395,7 +396,7 @@ func (x *Transaction) String() string {
func (*Transaction) ProtoMessage() {}
func (x *Transaction) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[4]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -408,7 +409,7 @@ func (x *Transaction) ProtoReflect() protoreflect.Message {
// Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{4}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{4}
}
func (x *Transaction) GetTransType() int32 {
@@ -491,7 +492,7 @@ type SetPayPasswordRequest struct {
func (x *SetPayPasswordRequest) Reset() {
*x = SetPayPasswordRequest{}
mi := &file_wallet_proto_msgTypes[5]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -503,7 +504,7 @@ func (x *SetPayPasswordRequest) String() string {
func (*SetPayPasswordRequest) ProtoMessage() {}
func (x *SetPayPasswordRequest) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[5]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -516,7 +517,7 @@ func (x *SetPayPasswordRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use SetPayPasswordRequest.ProtoReflect.Descriptor instead.
func (*SetPayPasswordRequest) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{5}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{5}
}
func (x *SetPayPasswordRequest) GetPassportIdentity() string {
@@ -543,7 +544,7 @@ type BindPaymentIDRequest struct {
func (x *BindPaymentIDRequest) Reset() {
*x = BindPaymentIDRequest{}
mi := &file_wallet_proto_msgTypes[6]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -555,7 +556,7 @@ func (x *BindPaymentIDRequest) String() string {
func (*BindPaymentIDRequest) ProtoMessage() {}
func (x *BindPaymentIDRequest) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[6]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -568,7 +569,7 @@ func (x *BindPaymentIDRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use BindPaymentIDRequest.ProtoReflect.Descriptor instead.
func (*BindPaymentIDRequest) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{6}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{6}
}
func (x *BindPaymentIDRequest) GetPayType() int32 {
@@ -597,7 +598,7 @@ type RefundRequest struct {
func (x *RefundRequest) Reset() {
*x = RefundRequest{}
mi := &file_wallet_proto_msgTypes[7]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -609,7 +610,7 @@ func (x *RefundRequest) String() string {
func (*RefundRequest) ProtoMessage() {}
func (x *RefundRequest) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[7]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -622,7 +623,7 @@ func (x *RefundRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use RefundRequest.ProtoReflect.Descriptor instead.
func (*RefundRequest) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{7}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{7}
}
func (x *RefundRequest) GetUserIdentification() string {
@@ -663,7 +664,7 @@ type RefundReply struct {
func (x *RefundReply) Reset() {
*x = RefundReply{}
mi := &file_wallet_proto_msgTypes[8]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -675,7 +676,7 @@ func (x *RefundReply) String() string {
func (*RefundReply) ProtoMessage() {}
func (x *RefundReply) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[8]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -688,7 +689,7 @@ func (x *RefundReply) ProtoReflect() protoreflect.Message {
// Deprecated: Use RefundReply.ProtoReflect.Descriptor instead.
func (*RefundReply) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{8}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{8}
}
func (x *RefundReply) GetBalance() int64 {
@@ -718,7 +719,7 @@ type AddBankCardRequest struct {
func (x *AddBankCardRequest) Reset() {
*x = AddBankCardRequest{}
mi := &file_wallet_proto_msgTypes[9]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -730,7 +731,7 @@ func (x *AddBankCardRequest) String() string {
func (*AddBankCardRequest) ProtoMessage() {}
func (x *AddBankCardRequest) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[9]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -743,7 +744,7 @@ func (x *AddBankCardRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use AddBankCardRequest.ProtoReflect.Descriptor instead.
func (*AddBankCardRequest) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{9}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{9}
}
func (x *AddBankCardRequest) GetWalletIdentity() string {
@@ -789,7 +790,7 @@ type FinanceEmpty struct {
func (x *FinanceEmpty) Reset() {
*x = FinanceEmpty{}
mi := &file_wallet_proto_msgTypes[10]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -801,7 +802,7 @@ func (x *FinanceEmpty) String() string {
func (*FinanceEmpty) ProtoMessage() {}
func (x *FinanceEmpty) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[10]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -814,7 +815,7 @@ func (x *FinanceEmpty) ProtoReflect() protoreflect.Message {
// Deprecated: Use FinanceEmpty.ProtoReflect.Descriptor instead.
func (*FinanceEmpty) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{10}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{10}
}
type RmBankCardRequest struct {
@@ -826,7 +827,7 @@ type RmBankCardRequest struct {
func (x *RmBankCardRequest) Reset() {
*x = RmBankCardRequest{}
mi := &file_wallet_proto_msgTypes[11]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -838,7 +839,7 @@ func (x *RmBankCardRequest) String() string {
func (*RmBankCardRequest) ProtoMessage() {}
func (x *RmBankCardRequest) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[11]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -851,7 +852,7 @@ func (x *RmBankCardRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use RmBankCardRequest.ProtoReflect.Descriptor instead.
func (*RmBankCardRequest) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{11}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{11}
}
func (x *RmBankCardRequest) GetIdentity() string {
@@ -870,7 +871,7 @@ type GetBankCardReply struct {
func (x *GetBankCardReply) Reset() {
*x = GetBankCardReply{}
mi := &file_wallet_proto_msgTypes[12]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -882,7 +883,7 @@ func (x *GetBankCardReply) String() string {
func (*GetBankCardReply) ProtoMessage() {}
func (x *GetBankCardReply) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[12]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -895,7 +896,7 @@ func (x *GetBankCardReply) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetBankCardReply.ProtoReflect.Descriptor instead.
func (*GetBankCardReply) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{12}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{12}
}
func (x *GetBankCardReply) GetData() []*BankCardInfo {
@@ -923,7 +924,7 @@ type BankCardInfo struct {
func (x *BankCardInfo) Reset() {
*x = BankCardInfo{}
mi := &file_wallet_proto_msgTypes[13]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -935,7 +936,7 @@ func (x *BankCardInfo) String() string {
func (*BankCardInfo) ProtoMessage() {}
func (x *BankCardInfo) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[13]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -948,7 +949,7 @@ func (x *BankCardInfo) ProtoReflect() protoreflect.Message {
// Deprecated: Use BankCardInfo.ProtoReflect.Descriptor instead.
func (*BankCardInfo) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{13}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{13}
}
func (x *BankCardInfo) GetId() int64 {
@@ -1032,7 +1033,7 @@ type ApplyCashRequest struct {
func (x *ApplyCashRequest) Reset() {
*x = ApplyCashRequest{}
mi := &file_wallet_proto_msgTypes[14]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1044,7 +1045,7 @@ func (x *ApplyCashRequest) String() string {
func (*ApplyCashRequest) ProtoMessage() {}
func (x *ApplyCashRequest) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[14]
mi := &file_module_finance_wallet_proto_wallet_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1057,7 +1058,7 @@ func (x *ApplyCashRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ApplyCashRequest.ProtoReflect.Descriptor instead.
func (*ApplyCashRequest) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{14}
return file_module_finance_wallet_proto_wallet_proto_rawDescGZIP(), []int{14}
}
func (x *ApplyCashRequest) GetChannel() int32 {
@@ -1081,11 +1082,11 @@ func (x *ApplyCashRequest) GetRemark() string {
return ""
}
var File_wallet_proto protoreflect.FileDescriptor
var File_module_finance_wallet_proto_wallet_proto protoreflect.FileDescriptor
const file_wallet_proto_rawDesc = "" +
const file_module_finance_wallet_proto_wallet_proto_rawDesc = "" +
"\n" +
"\x1bfinance/wallet/wallet.proto\x12\x06wallet\x1a\x13wallet/blocks.proto\"\x92\x02\n" +
"(module/finance/wallet/proto/wallet.proto\x12\x06wallet\x1a\x15protobuf/blocks.proto\"\x92\x02\n" +
"\x10GetWalletRequest\x12)\n" +
"\x11is_total_today_in\x18\x01 \x01(\bR\x0eisTotalTodayIn\x12+\n" +
"\x12is_total_today_out\x18\x02 \x01(\bR\x0fisTotalTodayOut\x12)\n" +
@@ -1186,30 +1187,29 @@ const file_wallet_proto_rawDesc = "" +
"\x06remark\x18\x03 \x01(\tR\x06remark2\xa1\x04\n" +
"\x05Basic\x12?\n" +
"\tGetWallet\x12\x18.wallet.GetWalletRequest\x1a\x16.wallet.GetWalletReply\"\x00\x12F\n" +
"\x0eSetPayPassword\x12\x1d.wallet.SetPayPasswordRequest\x1a\x13.wallet.StatusReply\"\x00\x12D\n" +
"\rBindPaymentId\x12\x1c.wallet.BindPaymentIDRequest\x1a\x13.wallet.StatusReply\"\x00\x12H\n" +
"\x0eSetPayPassword\x12\x1d.wallet.SetPayPasswordRequest\x1a\x13.blocks.StatusReply\"\x00\x12D\n" +
"\rBindPaymentId\x12\x1c.wallet.BindPaymentIDRequest\x1a\x13.blocks.StatusReply\"\x00\x12H\n" +
"\fTransactions\x12\x1b.wallet.TransactionsRequest\x1a\x19.wallet.TransactionsReply\"\x00\x12@\n" +
"\vAddBankCard\x12\x1a.wallet.AddBankCardRequest\x1a\x13.wallet.StatusReply\"\x00\x12?\n" +
"\vAddBankCard\x12\x1a.wallet.AddBankCardRequest\x1a\x13.blocks.StatusReply\"\x00\x12?\n" +
"\vGetBankCard\x12\x14.wallet.FinanceEmpty\x1a\x18.wallet.GetBankCardReply\"\x00\x12>\n" +
"\n" +
"RmBankCard\x12\x19.wallet.RmBankCardRequest\x1a\x13.wallet.StatusReply\"\x00\x12<\n" +
"\tApplyCash\x12\x18.wallet.ApplyCashRequest\x1a\x13.wallet.StatusReply\"\x00B\n" +
"Z\b.;walletb\x06proto3"
"RmBankCard\x12\x19.wallet.RmBankCardRequest\x1a\x13.blocks.StatusReply\"\x00\x12<\n" +
"\tApplyCash\x12\x18.wallet.ApplyCashRequest\x1a\x13.blocks.StatusReply\"\x00B*Z(bsm/full/module/finance/wallet/pb;walletb\x06proto3"
var (
file_wallet_proto_rawDescOnce sync.Once
file_wallet_proto_rawDescData []byte
file_module_finance_wallet_proto_wallet_proto_rawDescOnce sync.Once
file_module_finance_wallet_proto_wallet_proto_rawDescData []byte
)
func file_wallet_proto_rawDescGZIP() []byte {
file_wallet_proto_rawDescOnce.Do(func() {
file_wallet_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wallet_proto_rawDesc), len(file_wallet_proto_rawDesc)))
func file_module_finance_wallet_proto_wallet_proto_rawDescGZIP() []byte {
file_module_finance_wallet_proto_wallet_proto_rawDescOnce.Do(func() {
file_module_finance_wallet_proto_wallet_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_finance_wallet_proto_wallet_proto_rawDesc), len(file_module_finance_wallet_proto_wallet_proto_rawDesc)))
})
return file_wallet_proto_rawDescData
return file_module_finance_wallet_proto_wallet_proto_rawDescData
}
var file_wallet_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
var file_wallet_proto_goTypes = []any{
var file_module_finance_wallet_proto_wallet_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
var file_module_finance_wallet_proto_wallet_proto_goTypes = []any{
(*GetWalletRequest)(nil), // 0: wallet.GetWalletRequest
(*GetWalletReply)(nil), // 1: wallet.GetWalletReply
(*TransactionsRequest)(nil), // 2: wallet.TransactionsRequest
@@ -1226,9 +1226,9 @@ var file_wallet_proto_goTypes = []any{
(*BankCardInfo)(nil), // 13: wallet.BankCardInfo
(*ApplyCashRequest)(nil), // 14: wallet.ApplyCashRequest
nil, // 15: wallet.GetWalletReply.TotalEntry
(*StatusReply)(nil), // 16: wallet.StatusReply
(*protobuf.StatusReply)(nil), // 16: blocks.StatusReply
}
var file_wallet_proto_depIdxs = []int32{
var file_module_finance_wallet_proto_wallet_proto_depIdxs = []int32{
15, // 0: wallet.GetWalletReply.total:type_name -> wallet.GetWalletReply.TotalEntry
4, // 1: wallet.TransactionsReply.records:type_name -> wallet.Transaction
4, // 2: wallet.RefundReply.transaction:type_name -> wallet.Transaction
@@ -1242,13 +1242,13 @@ var file_wallet_proto_depIdxs = []int32{
11, // 10: wallet.Basic.RmBankCard:input_type -> wallet.RmBankCardRequest
14, // 11: wallet.Basic.ApplyCash:input_type -> wallet.ApplyCashRequest
1, // 12: wallet.Basic.GetWallet:output_type -> wallet.GetWalletReply
16, // 13: wallet.Basic.SetPayPassword:output_type -> wallet.StatusReply
16, // 14: wallet.Basic.BindPaymentId:output_type -> wallet.StatusReply
16, // 13: wallet.Basic.SetPayPassword:output_type -> blocks.StatusReply
16, // 14: wallet.Basic.BindPaymentId:output_type -> blocks.StatusReply
3, // 15: wallet.Basic.Transactions:output_type -> wallet.TransactionsReply
16, // 16: wallet.Basic.AddBankCard:output_type -> wallet.StatusReply
16, // 16: wallet.Basic.AddBankCard:output_type -> blocks.StatusReply
12, // 17: wallet.Basic.GetBankCard:output_type -> wallet.GetBankCardReply
16, // 18: wallet.Basic.RmBankCard:output_type -> wallet.StatusReply
16, // 19: wallet.Basic.ApplyCash:output_type -> wallet.StatusReply
16, // 18: wallet.Basic.RmBankCard:output_type -> blocks.StatusReply
16, // 19: wallet.Basic.ApplyCash:output_type -> blocks.StatusReply
12, // [12:20] is the sub-list for method output_type
4, // [4:12] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
@@ -1256,27 +1256,26 @@ var file_wallet_proto_depIdxs = []int32{
0, // [0:4] is the sub-list for field type_name
}
func init() { file_wallet_proto_init() }
func file_wallet_proto_init() {
if File_wallet_proto != nil {
func init() { file_module_finance_wallet_proto_wallet_proto_init() }
func file_module_finance_wallet_proto_wallet_proto_init() {
if File_module_finance_wallet_proto_wallet_proto != nil {
return
}
file_blocks_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_wallet_proto_rawDesc), len(file_wallet_proto_rawDesc)),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_finance_wallet_proto_wallet_proto_rawDesc), len(file_module_finance_wallet_proto_wallet_proto_rawDesc)),
NumEnums: 0,
NumMessages: 16,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_wallet_proto_goTypes,
DependencyIndexes: file_wallet_proto_depIdxs,
MessageInfos: file_wallet_proto_msgTypes,
GoTypes: file_module_finance_wallet_proto_wallet_proto_goTypes,
DependencyIndexes: file_module_finance_wallet_proto_wallet_proto_depIdxs,
MessageInfos: file_module_finance_wallet_proto_wallet_proto_msgTypes,
}.Build()
File_wallet_proto = out.File
file_wallet_proto_goTypes = nil
file_wallet_proto_depIdxs = nil
File_module_finance_wallet_proto_wallet_proto = out.File
file_module_finance_wallet_proto_wallet_proto_goTypes = nil
file_module_finance_wallet_proto_wallet_proto_depIdxs = nil
}