| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- // Code generated by goctl. DO NOT EDIT.
- // goctl 1.10.1
- // Source: gorpc.proto
- package gopayclient
- import (
- "context"
- "code.flashlink.me/nomo-server/go-service-pb/pb/pb"
- "github.com/zeromicro/go-zero/zrpc"
- "google.golang.org/grpc"
- )
- type (
- Empty = pb.Empty
- UserAuthLogAddReq = pb.UserAuthLogAddReq
- UserAuthLogAddResp = pb.UserAuthLogAddResp
- UserAuthLogDelReq = pb.UserAuthLogDelReq
- UserAuthLogGetReq = pb.UserAuthLogGetReq
- UserAuthLogGetResp = pb.UserAuthLogGetResp
- UserAuthLogListReq = pb.UserAuthLogListReq
- UserAuthLogListResp = pb.UserAuthLogListResp
- UserAuthLogUpdateReq = pb.UserAuthLogUpdateReq
- UserAuthLogUpdateResp = pb.UserAuthLogUpdateResp
- UserPayOrderAddReq = pb.UserPayOrderAddReq
- UserPayOrderAddResp = pb.UserPayOrderAddResp
- UserPayOrderDelReq = pb.UserPayOrderDelReq
- UserPayOrderGetReq = pb.UserPayOrderGetReq
- UserPayOrderGetResp = pb.UserPayOrderGetResp
- UserPayOrderListReq = pb.UserPayOrderListReq
- UserPayOrderListResp = pb.UserPayOrderListResp
- UserPayOrderUpdateReq = pb.UserPayOrderUpdateReq
- UserPayOrderUpdateResp = pb.UserPayOrderUpdateResp
- GoPayClient interface {
- // UserAuthLog
- UserAuthLogAdd(ctx context.Context, in *UserAuthLogAddReq, opts ...grpc.CallOption) (*UserAuthLogAddResp, error)
- UserAuthLogList(ctx context.Context, in *UserAuthLogListReq, opts ...grpc.CallOption) (*UserAuthLogListResp, error)
- UserAuthLogGet(ctx context.Context, in *UserAuthLogGetReq, opts ...grpc.CallOption) (*UserAuthLogGetResp, error)
- UserAuthLogDel(ctx context.Context, in *UserAuthLogDelReq, opts ...grpc.CallOption) (*Empty, error)
- UserAuthLogUpdate(ctx context.Context, in *UserAuthLogUpdateReq, opts ...grpc.CallOption) (*UserAuthLogUpdateResp, error)
- // UserPayOrder
- UserPayOrderAdd(ctx context.Context, in *UserPayOrderAddReq, opts ...grpc.CallOption) (*UserPayOrderAddResp, error)
- UserPayOrderList(ctx context.Context, in *UserPayOrderListReq, opts ...grpc.CallOption) (*UserPayOrderListResp, error)
- UserPayOrderGet(ctx context.Context, in *UserPayOrderGetReq, opts ...grpc.CallOption) (*UserPayOrderGetResp, error)
- UserPayOrderDel(ctx context.Context, in *UserPayOrderDelReq, opts ...grpc.CallOption) (*Empty, error)
- UserPayOrderUpdate(ctx context.Context, in *UserPayOrderUpdateReq, opts ...grpc.CallOption) (*UserPayOrderUpdateResp, error)
- }
- defaultGoPayClient struct {
- cli zrpc.Client
- }
- )
- func NewGoPayClient(cli zrpc.Client) GoPayClient {
- return &defaultGoPayClient{
- cli: cli,
- }
- }
- // UserAuthLog
- func (m *defaultGoPayClient) UserAuthLogAdd(ctx context.Context, in *UserAuthLogAddReq, opts ...grpc.CallOption) (*UserAuthLogAddResp, error) {
- client := pb.NewGoPayClientClient(m.cli.Conn())
- return client.UserAuthLogAdd(ctx, in, opts...)
- }
- func (m *defaultGoPayClient) UserAuthLogList(ctx context.Context, in *UserAuthLogListReq, opts ...grpc.CallOption) (*UserAuthLogListResp, error) {
- client := pb.NewGoPayClientClient(m.cli.Conn())
- return client.UserAuthLogList(ctx, in, opts...)
- }
- func (m *defaultGoPayClient) UserAuthLogGet(ctx context.Context, in *UserAuthLogGetReq, opts ...grpc.CallOption) (*UserAuthLogGetResp, error) {
- client := pb.NewGoPayClientClient(m.cli.Conn())
- return client.UserAuthLogGet(ctx, in, opts...)
- }
- func (m *defaultGoPayClient) UserAuthLogDel(ctx context.Context, in *UserAuthLogDelReq, opts ...grpc.CallOption) (*Empty, error) {
- client := pb.NewGoPayClientClient(m.cli.Conn())
- return client.UserAuthLogDel(ctx, in, opts...)
- }
- func (m *defaultGoPayClient) UserAuthLogUpdate(ctx context.Context, in *UserAuthLogUpdateReq, opts ...grpc.CallOption) (*UserAuthLogUpdateResp, error) {
- client := pb.NewGoPayClientClient(m.cli.Conn())
- return client.UserAuthLogUpdate(ctx, in, opts...)
- }
- // UserPayOrder
- func (m *defaultGoPayClient) UserPayOrderAdd(ctx context.Context, in *UserPayOrderAddReq, opts ...grpc.CallOption) (*UserPayOrderAddResp, error) {
- client := pb.NewGoPayClientClient(m.cli.Conn())
- return client.UserPayOrderAdd(ctx, in, opts...)
- }
- func (m *defaultGoPayClient) UserPayOrderList(ctx context.Context, in *UserPayOrderListReq, opts ...grpc.CallOption) (*UserPayOrderListResp, error) {
- client := pb.NewGoPayClientClient(m.cli.Conn())
- return client.UserPayOrderList(ctx, in, opts...)
- }
- func (m *defaultGoPayClient) UserPayOrderGet(ctx context.Context, in *UserPayOrderGetReq, opts ...grpc.CallOption) (*UserPayOrderGetResp, error) {
- client := pb.NewGoPayClientClient(m.cli.Conn())
- return client.UserPayOrderGet(ctx, in, opts...)
- }
- func (m *defaultGoPayClient) UserPayOrderDel(ctx context.Context, in *UserPayOrderDelReq, opts ...grpc.CallOption) (*Empty, error) {
- client := pb.NewGoPayClientClient(m.cli.Conn())
- return client.UserPayOrderDel(ctx, in, opts...)
- }
- func (m *defaultGoPayClient) UserPayOrderUpdate(ctx context.Context, in *UserPayOrderUpdateReq, opts ...grpc.CallOption) (*UserPayOrderUpdateResp, error) {
- client := pb.NewGoPayClientClient(m.cli.Conn())
- return client.UserPayOrderUpdate(ctx, in, opts...)
- }
|