|
@@ -1,7 +1,7 @@
|
|
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
|
// versions:
|
|
// versions:
|
|
|
// - protoc-gen-go-grpc v1.5.1
|
|
// - protoc-gen-go-grpc v1.5.1
|
|
|
-// - protoc v3.19.4
|
|
|
|
|
|
|
+// - protoc v6.33.0
|
|
|
// source: gorpc.proto
|
|
// source: gorpc.proto
|
|
|
|
|
|
|
|
package pb
|
|
package pb
|
|
@@ -9037,55 +9037,52 @@ var GoSysClient_ServiceDesc = grpc.ServiceDesc{
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const (
|
|
const (
|
|
|
- GoUserClient_Ping_FullMethodName = "/gorpc.GoUserClient/Ping"
|
|
|
|
|
- GoUserClient_UserAppConfigAdd_FullMethodName = "/gorpc.GoUserClient/UserAppConfigAdd"
|
|
|
|
|
- GoUserClient_UserAppConfigUpdate_FullMethodName = "/gorpc.GoUserClient/UserAppConfigUpdate"
|
|
|
|
|
- GoUserClient_UserAppConfigDel_FullMethodName = "/gorpc.GoUserClient/UserAppConfigDel"
|
|
|
|
|
- GoUserClient_UserAppConfigGet_FullMethodName = "/gorpc.GoUserClient/UserAppConfigGet"
|
|
|
|
|
- GoUserClient_UserAppConfigList_FullMethodName = "/gorpc.GoUserClient/UserAppConfigList"
|
|
|
|
|
- GoUserClient_DeviceAdd_FullMethodName = "/gorpc.GoUserClient/DeviceAdd"
|
|
|
|
|
- GoUserClient_DeviceUpdate_FullMethodName = "/gorpc.GoUserClient/DeviceUpdate"
|
|
|
|
|
- GoUserClient_DeviceDel_FullMethodName = "/gorpc.GoUserClient/DeviceDel"
|
|
|
|
|
- GoUserClient_DeviceGet_FullMethodName = "/gorpc.GoUserClient/DeviceGet"
|
|
|
|
|
- GoUserClient_DeviceList_FullMethodName = "/gorpc.GoUserClient/DeviceList"
|
|
|
|
|
- GoUserClient_DeviceAddFirebaseToken_FullMethodName = "/gorpc.GoUserClient/DeviceAddFirebaseToken"
|
|
|
|
|
- GoUserClient_DeviceUpdateFirebaseToken_FullMethodName = "/gorpc.GoUserClient/DeviceUpdateFirebaseToken"
|
|
|
|
|
- GoUserClient_DeviceFirebaseTokenMap_FullMethodName = "/gorpc.GoUserClient/DeviceFirebaseTokenMap"
|
|
|
|
|
- GoUserClient_AccountAdd_FullMethodName = "/gorpc.GoUserClient/AccountAdd"
|
|
|
|
|
- GoUserClient_AccountUpdate_FullMethodName = "/gorpc.GoUserClient/AccountUpdate"
|
|
|
|
|
- GoUserClient_AccountDel_FullMethodName = "/gorpc.GoUserClient/AccountDel"
|
|
|
|
|
- GoUserClient_AccountGet_FullMethodName = "/gorpc.GoUserClient/AccountGet"
|
|
|
|
|
- GoUserClient_AccountList_FullMethodName = "/gorpc.GoUserClient/AccountList"
|
|
|
|
|
- GoUserClient_AccountDeviceAdd_FullMethodName = "/gorpc.GoUserClient/AccountDeviceAdd"
|
|
|
|
|
- GoUserClient_AccountDeviceUpdate_FullMethodName = "/gorpc.GoUserClient/AccountDeviceUpdate"
|
|
|
|
|
- GoUserClient_AccountDeviceDel_FullMethodName = "/gorpc.GoUserClient/AccountDeviceDel"
|
|
|
|
|
- GoUserClient_AccountDeviceGet_FullMethodName = "/gorpc.GoUserClient/AccountDeviceGet"
|
|
|
|
|
- GoUserClient_AccountDeviceList_FullMethodName = "/gorpc.GoUserClient/AccountDeviceList"
|
|
|
|
|
- GoUserClient_UserWhiteAdd_FullMethodName = "/gorpc.GoUserClient/UserWhiteAdd"
|
|
|
|
|
- GoUserClient_UserWhiteUpdate_FullMethodName = "/gorpc.GoUserClient/UserWhiteUpdate"
|
|
|
|
|
- GoUserClient_UserWhiteDel_FullMethodName = "/gorpc.GoUserClient/UserWhiteDel"
|
|
|
|
|
- GoUserClient_UserWhiteGet_FullMethodName = "/gorpc.GoUserClient/UserWhiteGet"
|
|
|
|
|
- GoUserClient_UserWhiteList_FullMethodName = "/gorpc.GoUserClient/UserWhiteList"
|
|
|
|
|
- GoUserClient_UserTestAdd_FullMethodName = "/gorpc.GoUserClient/UserTestAdd"
|
|
|
|
|
- GoUserClient_UserTestUpdate_FullMethodName = "/gorpc.GoUserClient/UserTestUpdate"
|
|
|
|
|
- GoUserClient_UserTestDel_FullMethodName = "/gorpc.GoUserClient/UserTestDel"
|
|
|
|
|
- GoUserClient_UserTestGet_FullMethodName = "/gorpc.GoUserClient/UserTestGet"
|
|
|
|
|
- GoUserClient_UserTestList_FullMethodName = "/gorpc.GoUserClient/UserTestList"
|
|
|
|
|
- GoUserClient_UserAdd_FullMethodName = "/gorpc.GoUserClient/UserAdd"
|
|
|
|
|
- GoUserClient_UserUpdate_FullMethodName = "/gorpc.GoUserClient/UserUpdate"
|
|
|
|
|
- GoUserClient_UserDel_FullMethodName = "/gorpc.GoUserClient/UserDel"
|
|
|
|
|
- GoUserClient_UserGet_FullMethodName = "/gorpc.GoUserClient/UserGet"
|
|
|
|
|
- GoUserClient_UserList_FullMethodName = "/gorpc.GoUserClient/UserList"
|
|
|
|
|
- GoUserClient_UserCredentialAdd_FullMethodName = "/gorpc.GoUserClient/UserCredentialAdd"
|
|
|
|
|
- GoUserClient_UserCredentialUpdate_FullMethodName = "/gorpc.GoUserClient/UserCredentialUpdate"
|
|
|
|
|
- GoUserClient_UserCredentialDel_FullMethodName = "/gorpc.GoUserClient/UserCredentialDel"
|
|
|
|
|
- GoUserClient_UserCredentialGet_FullMethodName = "/gorpc.GoUserClient/UserCredentialGet"
|
|
|
|
|
- GoUserClient_UserCredentialList_FullMethodName = "/gorpc.GoUserClient/UserCredentialList"
|
|
|
|
|
- GoUserClient_UserDeviceAdd_FullMethodName = "/gorpc.GoUserClient/UserDeviceAdd"
|
|
|
|
|
- GoUserClient_UserDeviceUpdate_FullMethodName = "/gorpc.GoUserClient/UserDeviceUpdate"
|
|
|
|
|
- GoUserClient_UserDeviceDel_FullMethodName = "/gorpc.GoUserClient/UserDeviceDel"
|
|
|
|
|
- GoUserClient_UserDeviceGet_FullMethodName = "/gorpc.GoUserClient/UserDeviceGet"
|
|
|
|
|
- GoUserClient_UserDeviceList_FullMethodName = "/gorpc.GoUserClient/UserDeviceList"
|
|
|
|
|
|
|
+ GoUserClient_Ping_FullMethodName = "/gorpc.GoUserClient/Ping"
|
|
|
|
|
+ GoUserClient_UserAppConfigAdd_FullMethodName = "/gorpc.GoUserClient/UserAppConfigAdd"
|
|
|
|
|
+ GoUserClient_UserAppConfigUpdate_FullMethodName = "/gorpc.GoUserClient/UserAppConfigUpdate"
|
|
|
|
|
+ GoUserClient_UserAppConfigDel_FullMethodName = "/gorpc.GoUserClient/UserAppConfigDel"
|
|
|
|
|
+ GoUserClient_UserAppConfigGet_FullMethodName = "/gorpc.GoUserClient/UserAppConfigGet"
|
|
|
|
|
+ GoUserClient_UserAppConfigList_FullMethodName = "/gorpc.GoUserClient/UserAppConfigList"
|
|
|
|
|
+ GoUserClient_DeviceAdd_FullMethodName = "/gorpc.GoUserClient/DeviceAdd"
|
|
|
|
|
+ GoUserClient_DeviceUpdate_FullMethodName = "/gorpc.GoUserClient/DeviceUpdate"
|
|
|
|
|
+ GoUserClient_DeviceDel_FullMethodName = "/gorpc.GoUserClient/DeviceDel"
|
|
|
|
|
+ GoUserClient_DeviceGet_FullMethodName = "/gorpc.GoUserClient/DeviceGet"
|
|
|
|
|
+ GoUserClient_DeviceList_FullMethodName = "/gorpc.GoUserClient/DeviceList"
|
|
|
|
|
+ GoUserClient_AccountAdd_FullMethodName = "/gorpc.GoUserClient/AccountAdd"
|
|
|
|
|
+ GoUserClient_AccountUpdate_FullMethodName = "/gorpc.GoUserClient/AccountUpdate"
|
|
|
|
|
+ GoUserClient_AccountDel_FullMethodName = "/gorpc.GoUserClient/AccountDel"
|
|
|
|
|
+ GoUserClient_AccountGet_FullMethodName = "/gorpc.GoUserClient/AccountGet"
|
|
|
|
|
+ GoUserClient_AccountList_FullMethodName = "/gorpc.GoUserClient/AccountList"
|
|
|
|
|
+ GoUserClient_AccountDeviceAdd_FullMethodName = "/gorpc.GoUserClient/AccountDeviceAdd"
|
|
|
|
|
+ GoUserClient_AccountDeviceUpdate_FullMethodName = "/gorpc.GoUserClient/AccountDeviceUpdate"
|
|
|
|
|
+ GoUserClient_AccountDeviceDel_FullMethodName = "/gorpc.GoUserClient/AccountDeviceDel"
|
|
|
|
|
+ GoUserClient_AccountDeviceGet_FullMethodName = "/gorpc.GoUserClient/AccountDeviceGet"
|
|
|
|
|
+ GoUserClient_AccountDeviceList_FullMethodName = "/gorpc.GoUserClient/AccountDeviceList"
|
|
|
|
|
+ GoUserClient_UserWhiteAdd_FullMethodName = "/gorpc.GoUserClient/UserWhiteAdd"
|
|
|
|
|
+ GoUserClient_UserWhiteUpdate_FullMethodName = "/gorpc.GoUserClient/UserWhiteUpdate"
|
|
|
|
|
+ GoUserClient_UserWhiteDel_FullMethodName = "/gorpc.GoUserClient/UserWhiteDel"
|
|
|
|
|
+ GoUserClient_UserWhiteGet_FullMethodName = "/gorpc.GoUserClient/UserWhiteGet"
|
|
|
|
|
+ GoUserClient_UserWhiteList_FullMethodName = "/gorpc.GoUserClient/UserWhiteList"
|
|
|
|
|
+ GoUserClient_UserTestAdd_FullMethodName = "/gorpc.GoUserClient/UserTestAdd"
|
|
|
|
|
+ GoUserClient_UserTestUpdate_FullMethodName = "/gorpc.GoUserClient/UserTestUpdate"
|
|
|
|
|
+ GoUserClient_UserTestDel_FullMethodName = "/gorpc.GoUserClient/UserTestDel"
|
|
|
|
|
+ GoUserClient_UserTestGet_FullMethodName = "/gorpc.GoUserClient/UserTestGet"
|
|
|
|
|
+ GoUserClient_UserTestList_FullMethodName = "/gorpc.GoUserClient/UserTestList"
|
|
|
|
|
+ GoUserClient_UserAdd_FullMethodName = "/gorpc.GoUserClient/UserAdd"
|
|
|
|
|
+ GoUserClient_UserUpdate_FullMethodName = "/gorpc.GoUserClient/UserUpdate"
|
|
|
|
|
+ GoUserClient_UserDel_FullMethodName = "/gorpc.GoUserClient/UserDel"
|
|
|
|
|
+ GoUserClient_UserGet_FullMethodName = "/gorpc.GoUserClient/UserGet"
|
|
|
|
|
+ GoUserClient_UserList_FullMethodName = "/gorpc.GoUserClient/UserList"
|
|
|
|
|
+ GoUserClient_UserCredentialAdd_FullMethodName = "/gorpc.GoUserClient/UserCredentialAdd"
|
|
|
|
|
+ GoUserClient_UserCredentialUpdate_FullMethodName = "/gorpc.GoUserClient/UserCredentialUpdate"
|
|
|
|
|
+ GoUserClient_UserCredentialDel_FullMethodName = "/gorpc.GoUserClient/UserCredentialDel"
|
|
|
|
|
+ GoUserClient_UserCredentialGet_FullMethodName = "/gorpc.GoUserClient/UserCredentialGet"
|
|
|
|
|
+ GoUserClient_UserCredentialList_FullMethodName = "/gorpc.GoUserClient/UserCredentialList"
|
|
|
|
|
+ GoUserClient_UserDeviceAdd_FullMethodName = "/gorpc.GoUserClient/UserDeviceAdd"
|
|
|
|
|
+ GoUserClient_UserDeviceUpdate_FullMethodName = "/gorpc.GoUserClient/UserDeviceUpdate"
|
|
|
|
|
+ GoUserClient_UserDeviceDel_FullMethodName = "/gorpc.GoUserClient/UserDeviceDel"
|
|
|
|
|
+ GoUserClient_UserDeviceGet_FullMethodName = "/gorpc.GoUserClient/UserDeviceGet"
|
|
|
|
|
+ GoUserClient_UserDeviceList_FullMethodName = "/gorpc.GoUserClient/UserDeviceList"
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
// GoUserClientClient is the client API for GoUserClient service.
|
|
// GoUserClientClient is the client API for GoUserClient service.
|
|
@@ -9108,9 +9105,6 @@ type GoUserClientClient interface {
|
|
|
DeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
|
|
DeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
|
|
|
DeviceGet(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
|
|
DeviceGet(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
|
|
|
DeviceList(ctx context.Context, in *DeviceListReq, opts ...grpc.CallOption) (*DeviceListRes, error)
|
|
DeviceList(ctx context.Context, in *DeviceListReq, opts ...grpc.CallOption) (*DeviceListRes, error)
|
|
|
- DeviceAddFirebaseToken(ctx context.Context, in *DeviceAddFirebaseTokenReq, opts ...grpc.CallOption) (*Empty, error)
|
|
|
|
|
- DeviceUpdateFirebaseToken(ctx context.Context, in *DeviceUpdateFirebaseTokenReq, opts ...grpc.CallOption) (*Empty, error)
|
|
|
|
|
- DeviceFirebaseTokenMap(ctx context.Context, in *DeviceFirebaseTokenMapReq, opts ...grpc.CallOption) (*DeviceFirebaseTokenMapRes, error)
|
|
|
|
|
// Account Model
|
|
// Account Model
|
|
|
// AccountAdd
|
|
// AccountAdd
|
|
|
AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
|
|
AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
|
|
@@ -9278,36 +9272,6 @@ func (c *goUserClientClient) DeviceList(ctx context.Context, in *DeviceListReq,
|
|
|
return out, nil
|
|
return out, nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (c *goUserClientClient) DeviceAddFirebaseToken(ctx context.Context, in *DeviceAddFirebaseTokenReq, opts ...grpc.CallOption) (*Empty, error) {
|
|
|
|
|
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
- out := new(Empty)
|
|
|
|
|
- err := c.cc.Invoke(ctx, GoUserClient_DeviceAddFirebaseToken_FullMethodName, in, out, cOpts...)
|
|
|
|
|
- if err != nil {
|
|
|
|
|
- return nil, err
|
|
|
|
|
- }
|
|
|
|
|
- return out, nil
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-func (c *goUserClientClient) DeviceUpdateFirebaseToken(ctx context.Context, in *DeviceUpdateFirebaseTokenReq, opts ...grpc.CallOption) (*Empty, error) {
|
|
|
|
|
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
- out := new(Empty)
|
|
|
|
|
- err := c.cc.Invoke(ctx, GoUserClient_DeviceUpdateFirebaseToken_FullMethodName, in, out, cOpts...)
|
|
|
|
|
- if err != nil {
|
|
|
|
|
- return nil, err
|
|
|
|
|
- }
|
|
|
|
|
- return out, nil
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-func (c *goUserClientClient) DeviceFirebaseTokenMap(ctx context.Context, in *DeviceFirebaseTokenMapReq, opts ...grpc.CallOption) (*DeviceFirebaseTokenMapRes, error) {
|
|
|
|
|
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
- out := new(DeviceFirebaseTokenMapRes)
|
|
|
|
|
- err := c.cc.Invoke(ctx, GoUserClient_DeviceFirebaseTokenMap_FullMethodName, in, out, cOpts...)
|
|
|
|
|
- if err != nil {
|
|
|
|
|
- return nil, err
|
|
|
|
|
- }
|
|
|
|
|
- return out, nil
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
func (c *goUserClientClient) AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
|
|
func (c *goUserClientClient) AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
|
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
out := new(AccountVo)
|
|
out := new(AccountVo)
|
|
@@ -9678,9 +9642,6 @@ type GoUserClientServer interface {
|
|
|
DeviceDel(context.Context, *Ids) (*Empty, error)
|
|
DeviceDel(context.Context, *Ids) (*Empty, error)
|
|
|
DeviceGet(context.Context, *DeviceVo) (*DeviceVo, error)
|
|
DeviceGet(context.Context, *DeviceVo) (*DeviceVo, error)
|
|
|
DeviceList(context.Context, *DeviceListReq) (*DeviceListRes, error)
|
|
DeviceList(context.Context, *DeviceListReq) (*DeviceListRes, error)
|
|
|
- DeviceAddFirebaseToken(context.Context, *DeviceAddFirebaseTokenReq) (*Empty, error)
|
|
|
|
|
- DeviceUpdateFirebaseToken(context.Context, *DeviceUpdateFirebaseTokenReq) (*Empty, error)
|
|
|
|
|
- DeviceFirebaseTokenMap(context.Context, *DeviceFirebaseTokenMapReq) (*DeviceFirebaseTokenMapRes, error)
|
|
|
|
|
// Account Model
|
|
// Account Model
|
|
|
// AccountAdd
|
|
// AccountAdd
|
|
|
AccountAdd(context.Context, *AccountVo) (*AccountVo, error)
|
|
AccountAdd(context.Context, *AccountVo) (*AccountVo, error)
|
|
@@ -9771,15 +9732,6 @@ func (UnimplementedGoUserClientServer) DeviceGet(context.Context, *DeviceVo) (*D
|
|
|
func (UnimplementedGoUserClientServer) DeviceList(context.Context, *DeviceListReq) (*DeviceListRes, error) {
|
|
func (UnimplementedGoUserClientServer) DeviceList(context.Context, *DeviceListReq) (*DeviceListRes, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeviceList not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeviceList not implemented")
|
|
|
}
|
|
}
|
|
|
-func (UnimplementedGoUserClientServer) DeviceAddFirebaseToken(context.Context, *DeviceAddFirebaseTokenReq) (*Empty, error) {
|
|
|
|
|
- return nil, status.Errorf(codes.Unimplemented, "method DeviceAddFirebaseToken not implemented")
|
|
|
|
|
-}
|
|
|
|
|
-func (UnimplementedGoUserClientServer) DeviceUpdateFirebaseToken(context.Context, *DeviceUpdateFirebaseTokenReq) (*Empty, error) {
|
|
|
|
|
- return nil, status.Errorf(codes.Unimplemented, "method DeviceUpdateFirebaseToken not implemented")
|
|
|
|
|
-}
|
|
|
|
|
-func (UnimplementedGoUserClientServer) DeviceFirebaseTokenMap(context.Context, *DeviceFirebaseTokenMapReq) (*DeviceFirebaseTokenMapRes, error) {
|
|
|
|
|
- return nil, status.Errorf(codes.Unimplemented, "method DeviceFirebaseTokenMap not implemented")
|
|
|
|
|
-}
|
|
|
|
|
func (UnimplementedGoUserClientServer) AccountAdd(context.Context, *AccountVo) (*AccountVo, error) {
|
|
func (UnimplementedGoUserClientServer) AccountAdd(context.Context, *AccountVo) (*AccountVo, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method AccountAdd not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method AccountAdd not implemented")
|
|
|
}
|
|
}
|
|
@@ -10104,60 +10056,6 @@ func _GoUserClient_DeviceList_Handler(srv interface{}, ctx context.Context, dec
|
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func _GoUserClient_DeviceAddFirebaseToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
- in := new(DeviceAddFirebaseTokenReq)
|
|
|
|
|
- if err := dec(in); err != nil {
|
|
|
|
|
- return nil, err
|
|
|
|
|
- }
|
|
|
|
|
- if interceptor == nil {
|
|
|
|
|
- return srv.(GoUserClientServer).DeviceAddFirebaseToken(ctx, in)
|
|
|
|
|
- }
|
|
|
|
|
- info := &grpc.UnaryServerInfo{
|
|
|
|
|
- Server: srv,
|
|
|
|
|
- FullMethod: GoUserClient_DeviceAddFirebaseToken_FullMethodName,
|
|
|
|
|
- }
|
|
|
|
|
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
- return srv.(GoUserClientServer).DeviceAddFirebaseToken(ctx, req.(*DeviceAddFirebaseTokenReq))
|
|
|
|
|
- }
|
|
|
|
|
- return interceptor(ctx, in, info, handler)
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-func _GoUserClient_DeviceUpdateFirebaseToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
- in := new(DeviceUpdateFirebaseTokenReq)
|
|
|
|
|
- if err := dec(in); err != nil {
|
|
|
|
|
- return nil, err
|
|
|
|
|
- }
|
|
|
|
|
- if interceptor == nil {
|
|
|
|
|
- return srv.(GoUserClientServer).DeviceUpdateFirebaseToken(ctx, in)
|
|
|
|
|
- }
|
|
|
|
|
- info := &grpc.UnaryServerInfo{
|
|
|
|
|
- Server: srv,
|
|
|
|
|
- FullMethod: GoUserClient_DeviceUpdateFirebaseToken_FullMethodName,
|
|
|
|
|
- }
|
|
|
|
|
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
- return srv.(GoUserClientServer).DeviceUpdateFirebaseToken(ctx, req.(*DeviceUpdateFirebaseTokenReq))
|
|
|
|
|
- }
|
|
|
|
|
- return interceptor(ctx, in, info, handler)
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-func _GoUserClient_DeviceFirebaseTokenMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
- in := new(DeviceFirebaseTokenMapReq)
|
|
|
|
|
- if err := dec(in); err != nil {
|
|
|
|
|
- return nil, err
|
|
|
|
|
- }
|
|
|
|
|
- if interceptor == nil {
|
|
|
|
|
- return srv.(GoUserClientServer).DeviceFirebaseTokenMap(ctx, in)
|
|
|
|
|
- }
|
|
|
|
|
- info := &grpc.UnaryServerInfo{
|
|
|
|
|
- Server: srv,
|
|
|
|
|
- FullMethod: GoUserClient_DeviceFirebaseTokenMap_FullMethodName,
|
|
|
|
|
- }
|
|
|
|
|
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
- return srv.(GoUserClientServer).DeviceFirebaseTokenMap(ctx, req.(*DeviceFirebaseTokenMapReq))
|
|
|
|
|
- }
|
|
|
|
|
- return interceptor(ctx, in, info, handler)
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
func _GoUserClient_AccountAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
func _GoUserClient_AccountAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(AccountVo)
|
|
in := new(AccountVo)
|
|
|
if err := dec(in); err != nil {
|
|
if err := dec(in); err != nil {
|
|
@@ -10839,18 +10737,6 @@ var GoUserClient_ServiceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "DeviceList",
|
|
MethodName: "DeviceList",
|
|
|
Handler: _GoUserClient_DeviceList_Handler,
|
|
Handler: _GoUserClient_DeviceList_Handler,
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- MethodName: "DeviceAddFirebaseToken",
|
|
|
|
|
- Handler: _GoUserClient_DeviceAddFirebaseToken_Handler,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- MethodName: "DeviceUpdateFirebaseToken",
|
|
|
|
|
- Handler: _GoUserClient_DeviceUpdateFirebaseToken_Handler,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- MethodName: "DeviceFirebaseTokenMap",
|
|
|
|
|
- Handler: _GoUserClient_DeviceFirebaseTokenMap_Handler,
|
|
|
|
|
- },
|
|
|
|
|
{
|
|
{
|
|
|
MethodName: "AccountAdd",
|
|
MethodName: "AccountAdd",
|
|
|
Handler: _GoUserClient_AccountAdd_Handler,
|
|
Handler: _GoUserClient_AccountAdd_Handler,
|