app-cloudep-wallet-service/gen_result/pb/wallet/wallet_grpc.pb.go

77 lines
2.9 KiB
Go
Raw Normal View History

2025-04-10 08:20:01 +00:00
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc v3.19.4
// source: generate/protobuf/wallet.proto
package wallet
import (
grpc "google.golang.org/grpc"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9
// Wallet_ServiceClient is the client API for Wallet_Service service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type Wallet_ServiceClient interface {
}
type wallet_ServiceClient struct {
cc grpc.ClientConnInterface
}
func NewWallet_ServiceClient(cc grpc.ClientConnInterface) Wallet_ServiceClient {
return &wallet_ServiceClient{cc}
}
// Wallet_ServiceServer is the server API for Wallet_Service service.
// All implementations must embed UnimplementedWallet_ServiceServer
// for forward compatibility.
type Wallet_ServiceServer interface {
mustEmbedUnimplementedWallet_ServiceServer()
}
// UnimplementedWallet_ServiceServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedWallet_ServiceServer struct{}
func (UnimplementedWallet_ServiceServer) mustEmbedUnimplementedWallet_ServiceServer() {}
func (UnimplementedWallet_ServiceServer) testEmbeddedByValue() {}
// UnsafeWallet_ServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to Wallet_ServiceServer will
// result in compilation errors.
type UnsafeWallet_ServiceServer interface {
mustEmbedUnimplementedWallet_ServiceServer()
}
func RegisterWallet_ServiceServer(s grpc.ServiceRegistrar, srv Wallet_ServiceServer) {
// If the following call pancis, it indicates UnimplementedWallet_ServiceServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
t.testEmbeddedByValue()
}
s.RegisterService(&Wallet_Service_ServiceDesc, srv)
}
// Wallet_Service_ServiceDesc is the grpc.ServiceDesc for Wallet_Service service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Wallet_Service_ServiceDesc = grpc.ServiceDesc{
ServiceName: "wallet.Wallet_Service",
HandlerType: (*Wallet_ServiceServer)(nil),
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{},
Metadata: "generate/protobuf/wallet.proto",
}