Package io.github.xezzon.zeroweb.dict
Class DictGrpcServer
java.lang.Object
io.github.xezzon.zeroweb.dict.DictGrpc.DictImplBase
io.github.xezzon.zeroweb.dict.DictGrpcServer
- All Implemented Interfaces:
io.github.xezzon.zeroweb.dict.DictGrpc.AsyncService
,io.grpc.BindableService
@GrpcService
public class DictGrpcServer
extends io.github.xezzon.zeroweb.dict.DictGrpc.DictImplBase
- Author:
- xezzon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getDictListByTag
(io.github.xezzon.zeroweb.dict.DictReq request, io.grpc.stub.StreamObserver<io.github.xezzon.zeroweb.dict.DictListResp> responseObserver) 查询指定字典目下所有字典项的列表(服务间接口)void
importDict
(io.github.xezzon.zeroweb.dict.DictImportReqList request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) 导入字典数据(服务间接口)Methods inherited from class io.github.xezzon.zeroweb.dict.DictGrpc.DictImplBase
bindService
-
Constructor Details
-
DictGrpcServer
-
-
Method Details
-
getDictListByTag
public void getDictListByTag(io.github.xezzon.zeroweb.dict.DictReq request, io.grpc.stub.StreamObserver<io.github.xezzon.zeroweb.dict.DictListResp> responseObserver) 查询指定字典目下所有字典项的列表(服务间接口) -
importDict
public void importDict(io.github.xezzon.zeroweb.dict.DictImportReqList request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) 导入字典数据(服务间接口)
-