// Code generated by goctl. DO NOT EDIT! // Source: entManageApplication.proto package entmanageapplication import ( "context" "bp.jydev.jianyu360.cn/BaseService/entManageApplication/rpc/pb" "github.com/zeromicro/go-zero/zrpc" "google.golang.org/grpc" ) type ( AddUsePerson = pb.AddUsePerson AddUsePersonReq = pb.AddUsePersonReq AddUsePersonResp = pb.AddUsePersonResp BuyProductList = pb.BuyProductList BuyProductListReq = pb.BuyProductListReq BuyProductListResp = pb.BuyProductListResp DelUsePersonReq = pb.DelUsePersonReq EmpowerUserIds = pb.EmpowerUserIds UsePersonList = pb.UsePersonList UsePersonListReq = pb.UsePersonListReq UsePersonListResp = pb.UsePersonListResp EntManageApplication interface { BuyProductList(ctx context.Context, in *BuyProductListReq, opts ...grpc.CallOption) (*BuyProductListResp, error) UsePersonList(ctx context.Context, in *UsePersonListReq, opts ...grpc.CallOption) (*UsePersonListResp, error) AddUsePerson(ctx context.Context, in *AddUsePersonReq, opts ...grpc.CallOption) (*AddUsePersonResp, error) DelUsePerson(ctx context.Context, in *DelUsePersonReq, opts ...grpc.CallOption) (*AddUsePersonResp, error) EmpowerUserIds(ctx context.Context, in *EmpowerUserIds, opts ...grpc.CallOption) (*EmpowerUserIds, error) } defaultEntManageApplication struct { cli zrpc.Client } ) func NewEntManageApplication(cli zrpc.Client) EntManageApplication { return &defaultEntManageApplication{ cli: cli, } } func (m *defaultEntManageApplication) BuyProductList(ctx context.Context, in *BuyProductListReq, opts ...grpc.CallOption) (*BuyProductListResp, error) { client := pb.NewEntManageApplicationClient(m.cli.Conn()) return client.BuyProductList(ctx, in, opts...) } func (m *defaultEntManageApplication) UsePersonList(ctx context.Context, in *UsePersonListReq, opts ...grpc.CallOption) (*UsePersonListResp, error) { client := pb.NewEntManageApplicationClient(m.cli.Conn()) return client.UsePersonList(ctx, in, opts...) } func (m *defaultEntManageApplication) AddUsePerson(ctx context.Context, in *AddUsePersonReq, opts ...grpc.CallOption) (*AddUsePersonResp, error) { client := pb.NewEntManageApplicationClient(m.cli.Conn()) return client.AddUsePerson(ctx, in, opts...) } func (m *defaultEntManageApplication) DelUsePerson(ctx context.Context, in *DelUsePersonReq, opts ...grpc.CallOption) (*AddUsePersonResp, error) { client := pb.NewEntManageApplicationClient(m.cli.Conn()) return client.DelUsePerson(ctx, in, opts...) } func (m *defaultEntManageApplication) EmpowerUserIds(ctx context.Context, in *EmpowerUserIds, opts ...grpc.CallOption) (*EmpowerUserIds, error) { client := pb.NewEntManageApplicationClient(m.cli.Conn()) return client.EmpowerUserIds(ctx, in, opts...) }