feat: analysis user status
CI / changes (push) Successful in 1m32s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / analysis (push) Successful in 3m45s
CI / bff (push) Successful in 31s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 1s
CI / product (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / record (push) Successful in 0s
CI / store (push) Successful in 0s
CI / support (push) Successful in 0s
CI / user (push) Successful in 1s
CI / task (push) Successful in 0s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / ws (push) Successful in 0s
CI / changes (push) Successful in 1m32s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / analysis (push) Successful in 3m45s
CI / bff (push) Successful in 31s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 1s
CI / product (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / record (push) Successful in 0s
CI / store (push) Successful in 0s
CI / support (push) Successful in 0s
CI / user (push) Successful in 1s
CI / task (push) Successful in 0s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / ws (push) Successful in 0s
This commit is contained in:
@@ -24,6 +24,23 @@ const (
|
||||
Analysis_AgreementInfo_FullMethodName = "/analysis.Analysis/AgreementInfo"
|
||||
Analysis_Switch_FullMethodName = "/analysis.Analysis/Switch"
|
||||
Analysis_QrcodeInfo_FullMethodName = "/analysis.Analysis/QrcodeInfo"
|
||||
Analysis_Log_FullMethodName = "/analysis.Analysis/Log"
|
||||
Analysis_Overview_FullMethodName = "/analysis.Analysis/Overview"
|
||||
Analysis_User_FullMethodName = "/analysis.Analysis/User"
|
||||
Analysis_UserDetail_FullMethodName = "/analysis.Analysis/UserDetail"
|
||||
Analysis_UserFacepp_FullMethodName = "/analysis.Analysis/UserFacepp"
|
||||
Analysis_UserMode_FullMethodName = "/analysis.Analysis/UserMode"
|
||||
Analysis_UserLog_FullMethodName = "/analysis.Analysis/UserLog"
|
||||
Analysis_Banners_FullMethodName = "/analysis.Analysis/Banners"
|
||||
Analysis_QrcodeShare_FullMethodName = "/analysis.Analysis/QrcodeShare"
|
||||
Analysis_GraphDetail_FullMethodName = "/analysis.Analysis/GraphDetail"
|
||||
Analysis_FaceppMaps_FullMethodName = "/analysis.Analysis/FaceppMaps"
|
||||
Analysis_FaceppMapBoxes_FullMethodName = "/analysis.Analysis/FaceppMapBoxes"
|
||||
Analysis_FaceppMapBoxDelete_FullMethodName = "/analysis.Analysis/FaceppMapBoxDelete"
|
||||
Analysis_ImagesDate_FullMethodName = "/analysis.Analysis/ImagesDate"
|
||||
Analysis_ImagesList_FullMethodName = "/analysis.Analysis/ImagesList"
|
||||
Analysis_ModeImage_FullMethodName = "/analysis.Analysis/ModeImage"
|
||||
Analysis_DeviceUpdate_FullMethodName = "/analysis.Analysis/DeviceUpdate"
|
||||
)
|
||||
|
||||
// AnalysisClient is the client API for Analysis service.
|
||||
@@ -35,6 +52,23 @@ type AnalysisClient interface {
|
||||
AgreementInfo(ctx context.Context, in *AgreementInfoReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Switch(ctx context.Context, in *SwitchReq, opts ...grpc.CallOption) (*Response, error)
|
||||
QrcodeInfo(ctx context.Context, in *QrcodeInfoReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Log(ctx context.Context, in *LogReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Overview(ctx context.Context, in *OverviewReq, opts ...grpc.CallOption) (*Response, error)
|
||||
User(ctx context.Context, in *UserReq, opts ...grpc.CallOption) (*Response, error)
|
||||
UserDetail(ctx context.Context, in *UserDetailReq, opts ...grpc.CallOption) (*Response, error)
|
||||
UserFacepp(ctx context.Context, in *TaskIdReq, opts ...grpc.CallOption) (*Response, error)
|
||||
UserMode(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*Response, error)
|
||||
UserLog(ctx context.Context, in *LogReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Banners(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*Response, error)
|
||||
QrcodeShare(ctx context.Context, in *QrcodeShareReq, opts ...grpc.CallOption) (*Response, error)
|
||||
GraphDetail(ctx context.Context, in *GraphDetailReq, opts ...grpc.CallOption) (*Response, error)
|
||||
FaceppMaps(ctx context.Context, in *TaskIdReq, opts ...grpc.CallOption) (*Response, error)
|
||||
FaceppMapBoxes(ctx context.Context, in *FaceppMapBoxesReq, opts ...grpc.CallOption) (*Response, error)
|
||||
FaceppMapBoxDelete(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*Response, error)
|
||||
ImagesDate(ctx context.Context, in *ImagesDateReq, opts ...grpc.CallOption) (*Response, error)
|
||||
ImagesList(ctx context.Context, in *ImagesListReq, opts ...grpc.CallOption) (*Response, error)
|
||||
ModeImage(ctx context.Context, in *TaskIdReq, opts ...grpc.CallOption) (*Response, error)
|
||||
DeviceUpdate(ctx context.Context, in *DeviceUpdateReq, opts ...grpc.CallOption) (*Response, error)
|
||||
}
|
||||
|
||||
type analysisClient struct {
|
||||
@@ -95,6 +129,176 @@ func (c *analysisClient) QrcodeInfo(ctx context.Context, in *QrcodeInfoReq, opts
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) Log(ctx context.Context, in *LogReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_Log_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) Overview(ctx context.Context, in *OverviewReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_Overview_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) User(ctx context.Context, in *UserReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_User_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) UserDetail(ctx context.Context, in *UserDetailReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_UserDetail_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) UserFacepp(ctx context.Context, in *TaskIdReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_UserFacepp_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) UserMode(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_UserMode_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) UserLog(ctx context.Context, in *LogReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_UserLog_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) Banners(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_Banners_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) QrcodeShare(ctx context.Context, in *QrcodeShareReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_QrcodeShare_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) GraphDetail(ctx context.Context, in *GraphDetailReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_GraphDetail_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) FaceppMaps(ctx context.Context, in *TaskIdReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_FaceppMaps_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) FaceppMapBoxes(ctx context.Context, in *FaceppMapBoxesReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_FaceppMapBoxes_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) FaceppMapBoxDelete(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_FaceppMapBoxDelete_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) ImagesDate(ctx context.Context, in *ImagesDateReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_ImagesDate_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) ImagesList(ctx context.Context, in *ImagesListReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_ImagesList_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) ModeImage(ctx context.Context, in *TaskIdReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_ModeImage_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisClient) DeviceUpdate(ctx context.Context, in *DeviceUpdateReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Analysis_DeviceUpdate_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// AnalysisServer is the server API for Analysis service.
|
||||
// All implementations must embed UnimplementedAnalysisServer
|
||||
// for forward compatibility.
|
||||
@@ -104,6 +308,23 @@ type AnalysisServer interface {
|
||||
AgreementInfo(context.Context, *AgreementInfoReq) (*Response, error)
|
||||
Switch(context.Context, *SwitchReq) (*Response, error)
|
||||
QrcodeInfo(context.Context, *QrcodeInfoReq) (*Response, error)
|
||||
Log(context.Context, *LogReq) (*Response, error)
|
||||
Overview(context.Context, *OverviewReq) (*Response, error)
|
||||
User(context.Context, *UserReq) (*Response, error)
|
||||
UserDetail(context.Context, *UserDetailReq) (*Response, error)
|
||||
UserFacepp(context.Context, *TaskIdReq) (*Response, error)
|
||||
UserMode(context.Context, *EmptyReq) (*Response, error)
|
||||
UserLog(context.Context, *LogReq) (*Response, error)
|
||||
Banners(context.Context, *EmptyReq) (*Response, error)
|
||||
QrcodeShare(context.Context, *QrcodeShareReq) (*Response, error)
|
||||
GraphDetail(context.Context, *GraphDetailReq) (*Response, error)
|
||||
FaceppMaps(context.Context, *TaskIdReq) (*Response, error)
|
||||
FaceppMapBoxes(context.Context, *FaceppMapBoxesReq) (*Response, error)
|
||||
FaceppMapBoxDelete(context.Context, *IdReq) (*Response, error)
|
||||
ImagesDate(context.Context, *ImagesDateReq) (*Response, error)
|
||||
ImagesList(context.Context, *ImagesListReq) (*Response, error)
|
||||
ModeImage(context.Context, *TaskIdReq) (*Response, error)
|
||||
DeviceUpdate(context.Context, *DeviceUpdateReq) (*Response, error)
|
||||
mustEmbedUnimplementedAnalysisServer()
|
||||
}
|
||||
|
||||
@@ -129,6 +350,57 @@ func (UnimplementedAnalysisServer) Switch(context.Context, *SwitchReq) (*Respons
|
||||
func (UnimplementedAnalysisServer) QrcodeInfo(context.Context, *QrcodeInfoReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method QrcodeInfo not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) Log(context.Context, *LogReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method Log not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) Overview(context.Context, *OverviewReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method Overview not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) User(context.Context, *UserReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method User not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) UserDetail(context.Context, *UserDetailReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UserDetail not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) UserFacepp(context.Context, *TaskIdReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UserFacepp not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) UserMode(context.Context, *EmptyReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UserMode not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) UserLog(context.Context, *LogReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UserLog not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) Banners(context.Context, *EmptyReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method Banners not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) QrcodeShare(context.Context, *QrcodeShareReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method QrcodeShare not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) GraphDetail(context.Context, *GraphDetailReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method GraphDetail not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) FaceppMaps(context.Context, *TaskIdReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method FaceppMaps not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) FaceppMapBoxes(context.Context, *FaceppMapBoxesReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method FaceppMapBoxes not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) FaceppMapBoxDelete(context.Context, *IdReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method FaceppMapBoxDelete not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) ImagesDate(context.Context, *ImagesDateReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method ImagesDate not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) ImagesList(context.Context, *ImagesListReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method ImagesList not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) ModeImage(context.Context, *TaskIdReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method ModeImage not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) DeviceUpdate(context.Context, *DeviceUpdateReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method DeviceUpdate not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisServer) mustEmbedUnimplementedAnalysisServer() {}
|
||||
func (UnimplementedAnalysisServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -240,6 +512,312 @@ func _Analysis_QrcodeInfo_Handler(srv interface{}, ctx context.Context, dec func
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_Log_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(LogReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).Log(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_Log_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).Log(ctx, req.(*LogReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_Overview_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(OverviewReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).Overview(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_Overview_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).Overview(ctx, req.(*OverviewReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_User_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UserReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).User(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_User_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).User(ctx, req.(*UserReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_UserDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UserDetailReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).UserDetail(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_UserDetail_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).UserDetail(ctx, req.(*UserDetailReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_UserFacepp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(TaskIdReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).UserFacepp(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_UserFacepp_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).UserFacepp(ctx, req.(*TaskIdReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_UserMode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(EmptyReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).UserMode(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_UserMode_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).UserMode(ctx, req.(*EmptyReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_UserLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(LogReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).UserLog(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_UserLog_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).UserLog(ctx, req.(*LogReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_Banners_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(EmptyReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).Banners(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_Banners_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).Banners(ctx, req.(*EmptyReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_QrcodeShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(QrcodeShareReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).QrcodeShare(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_QrcodeShare_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).QrcodeShare(ctx, req.(*QrcodeShareReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_GraphDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GraphDetailReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).GraphDetail(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_GraphDetail_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).GraphDetail(ctx, req.(*GraphDetailReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_FaceppMaps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(TaskIdReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).FaceppMaps(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_FaceppMaps_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).FaceppMaps(ctx, req.(*TaskIdReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_FaceppMapBoxes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(FaceppMapBoxesReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).FaceppMapBoxes(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_FaceppMapBoxes_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).FaceppMapBoxes(ctx, req.(*FaceppMapBoxesReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_FaceppMapBoxDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(IdReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).FaceppMapBoxDelete(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_FaceppMapBoxDelete_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).FaceppMapBoxDelete(ctx, req.(*IdReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_ImagesDate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ImagesDateReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).ImagesDate(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_ImagesDate_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).ImagesDate(ctx, req.(*ImagesDateReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_ImagesList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ImagesListReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).ImagesList(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_ImagesList_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).ImagesList(ctx, req.(*ImagesListReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_ModeImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(TaskIdReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).ModeImage(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_ModeImage_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).ModeImage(ctx, req.(*TaskIdReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Analysis_DeviceUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeviceUpdateReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisServer).DeviceUpdate(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Analysis_DeviceUpdate_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisServer).DeviceUpdate(ctx, req.(*DeviceUpdateReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
// Analysis_ServiceDesc is the grpc.ServiceDesc for Analysis service.
|
||||
// It's only intended for direct use with grpc.RegisterService,
|
||||
// and not to be introspected or modified (even as a copy)
|
||||
@@ -267,6 +845,74 @@ var Analysis_ServiceDesc = grpc.ServiceDesc{
|
||||
MethodName: "QrcodeInfo",
|
||||
Handler: _Analysis_QrcodeInfo_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "Log",
|
||||
Handler: _Analysis_Log_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "Overview",
|
||||
Handler: _Analysis_Overview_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "User",
|
||||
Handler: _Analysis_User_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UserDetail",
|
||||
Handler: _Analysis_UserDetail_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UserFacepp",
|
||||
Handler: _Analysis_UserFacepp_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UserMode",
|
||||
Handler: _Analysis_UserMode_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UserLog",
|
||||
Handler: _Analysis_UserLog_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "Banners",
|
||||
Handler: _Analysis_Banners_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "QrcodeShare",
|
||||
Handler: _Analysis_QrcodeShare_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GraphDetail",
|
||||
Handler: _Analysis_GraphDetail_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "FaceppMaps",
|
||||
Handler: _Analysis_FaceppMaps_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "FaceppMapBoxes",
|
||||
Handler: _Analysis_FaceppMapBoxes_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "FaceppMapBoxDelete",
|
||||
Handler: _Analysis_FaceppMapBoxDelete_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ImagesDate",
|
||||
Handler: _Analysis_ImagesDate_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ImagesList",
|
||||
Handler: _Analysis_ImagesList_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ModeImage",
|
||||
Handler: _Analysis_ModeImage_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeviceUpdate",
|
||||
Handler: _Analysis_DeviceUpdate_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "analysis/analysis.proto",
|
||||
@@ -282,6 +928,8 @@ const (
|
||||
AnalysisUser_UserAuthUpdate_FullMethodName = "/analysis.AnalysisUser/UserAuthUpdate"
|
||||
AnalysisUser_DeviceBind_FullMethodName = "/analysis.AnalysisUser/DeviceBind"
|
||||
AnalysisUser_DeviceInfo_FullMethodName = "/analysis.AnalysisUser/DeviceInfo"
|
||||
AnalysisUser_UserLogDelete_FullMethodName = "/analysis.AnalysisUser/UserLogDelete"
|
||||
AnalysisUser_UserStatus_FullMethodName = "/analysis.AnalysisUser/UserStatus"
|
||||
)
|
||||
|
||||
// AnalysisUserClient is the client API for AnalysisUser service.
|
||||
@@ -297,6 +945,8 @@ type AnalysisUserClient interface {
|
||||
UserAuthUpdate(ctx context.Context, in *UserAuthUpdateReq, opts ...grpc.CallOption) (*Response, error)
|
||||
DeviceBind(ctx context.Context, in *DeviceBindReq, opts ...grpc.CallOption) (*Response, error)
|
||||
DeviceInfo(ctx context.Context, in *DeviceInfoReq, opts ...grpc.CallOption) (*Response, error)
|
||||
UserLogDelete(ctx context.Context, in *UserLogDeleteReq, opts ...grpc.CallOption) (*Response, error)
|
||||
UserStatus(ctx context.Context, in *UserStatusReq, opts ...grpc.CallOption) (*Response, error)
|
||||
}
|
||||
|
||||
type analysisUserClient struct {
|
||||
@@ -397,6 +1047,26 @@ func (c *analysisUserClient) DeviceInfo(ctx context.Context, in *DeviceInfoReq,
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisUserClient) UserLogDelete(ctx context.Context, in *UserLogDeleteReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, AnalysisUser_UserLogDelete_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *analysisUserClient) UserStatus(ctx context.Context, in *UserStatusReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, AnalysisUser_UserStatus_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// AnalysisUserServer is the server API for AnalysisUser service.
|
||||
// All implementations must embed UnimplementedAnalysisUserServer
|
||||
// for forward compatibility.
|
||||
@@ -410,6 +1080,8 @@ type AnalysisUserServer interface {
|
||||
UserAuthUpdate(context.Context, *UserAuthUpdateReq) (*Response, error)
|
||||
DeviceBind(context.Context, *DeviceBindReq) (*Response, error)
|
||||
DeviceInfo(context.Context, *DeviceInfoReq) (*Response, error)
|
||||
UserLogDelete(context.Context, *UserLogDeleteReq) (*Response, error)
|
||||
UserStatus(context.Context, *UserStatusReq) (*Response, error)
|
||||
mustEmbedUnimplementedAnalysisUserServer()
|
||||
}
|
||||
|
||||
@@ -447,6 +1119,12 @@ func (UnimplementedAnalysisUserServer) DeviceBind(context.Context, *DeviceBindRe
|
||||
func (UnimplementedAnalysisUserServer) DeviceInfo(context.Context, *DeviceInfoReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method DeviceInfo not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisUserServer) UserLogDelete(context.Context, *UserLogDeleteReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UserLogDelete not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisUserServer) UserStatus(context.Context, *UserStatusReq) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UserStatus not implemented")
|
||||
}
|
||||
func (UnimplementedAnalysisUserServer) mustEmbedUnimplementedAnalysisUserServer() {}
|
||||
func (UnimplementedAnalysisUserServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -630,6 +1308,42 @@ func _AnalysisUser_DeviceInfo_Handler(srv interface{}, ctx context.Context, dec
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _AnalysisUser_UserLogDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UserLogDeleteReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisUserServer).UserLogDelete(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: AnalysisUser_UserLogDelete_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisUserServer).UserLogDelete(ctx, req.(*UserLogDeleteReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _AnalysisUser_UserStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UserStatusReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(AnalysisUserServer).UserStatus(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: AnalysisUser_UserStatus_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(AnalysisUserServer).UserStatus(ctx, req.(*UserStatusReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
// AnalysisUser_ServiceDesc is the grpc.ServiceDesc for AnalysisUser service.
|
||||
// It's only intended for direct use with grpc.RegisterService,
|
||||
// and not to be introspected or modified (even as a copy)
|
||||
@@ -673,6 +1387,14 @@ var AnalysisUser_ServiceDesc = grpc.ServiceDesc{
|
||||
MethodName: "DeviceInfo",
|
||||
Handler: _AnalysisUser_DeviceInfo_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UserLogDelete",
|
||||
Handler: _AnalysisUser_UserLogDelete_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UserStatus",
|
||||
Handler: _AnalysisUser_UserStatus_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "analysis/analysis.proto",
|
||||
|
||||
Reference in New Issue
Block a user