|
@@ -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
|
|
@@ -8991,37 +8991,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_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_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.
|
|
@@ -9067,6 +9082,24 @@ type GoUserClientClient interface {
|
|
|
UserTestDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
|
|
UserTestDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
|
|
|
UserTestGet(ctx context.Context, in *UserTestVo, opts ...grpc.CallOption) (*UserTestVo, error)
|
|
UserTestGet(ctx context.Context, in *UserTestVo, opts ...grpc.CallOption) (*UserTestVo, error)
|
|
|
UserTestList(ctx context.Context, in *UserTestListReq, opts ...grpc.CallOption) (*UserTestListResp, error)
|
|
UserTestList(ctx context.Context, in *UserTestListReq, opts ...grpc.CallOption) (*UserTestListResp, error)
|
|
|
|
|
+ // User
|
|
|
|
|
+ UserAdd(ctx context.Context, in *UserAddReq, opts ...grpc.CallOption) (*UserAddResp, error)
|
|
|
|
|
+ UserUpdate(ctx context.Context, in *UserUpdateReq, opts ...grpc.CallOption) (*UserUpdateResp, error)
|
|
|
|
|
+ UserDel(ctx context.Context, in *UserDelReq, opts ...grpc.CallOption) (*Empty, error)
|
|
|
|
|
+ UserGet(ctx context.Context, in *UserGetReq, opts ...grpc.CallOption) (*UserGetResp, error)
|
|
|
|
|
+ UserList(ctx context.Context, in *UserListReq, opts ...grpc.CallOption) (*UserListResp, error)
|
|
|
|
|
+ // UserCredential
|
|
|
|
|
+ UserCredentialAdd(ctx context.Context, in *UserCredentialAddReq, opts ...grpc.CallOption) (*UserCredentialAddResp, error)
|
|
|
|
|
+ UserCredentialUpdate(ctx context.Context, in *UserCredentialUpdateReq, opts ...grpc.CallOption) (*UserCredentialUpdateResp, error)
|
|
|
|
|
+ UserCredentialDel(ctx context.Context, in *UserCredentialDelReq, opts ...grpc.CallOption) (*Empty, error)
|
|
|
|
|
+ UserCredentialGet(ctx context.Context, in *UserCredentialGetReq, opts ...grpc.CallOption) (*UserCredentialGetResp, error)
|
|
|
|
|
+ UserCredentialList(ctx context.Context, in *UserCredentialListReq, opts ...grpc.CallOption) (*UserCredentialListResp, error)
|
|
|
|
|
+ // UserDevice
|
|
|
|
|
+ UserDeviceAdd(ctx context.Context, in *UserDeviceAddReq, opts ...grpc.CallOption) (*UserDeviceAddResp, error)
|
|
|
|
|
+ UserDeviceUpdate(ctx context.Context, in *UserDeviceUpdateReq, opts ...grpc.CallOption) (*UserDeviceUpdateResp, error)
|
|
|
|
|
+ UserDeviceDel(ctx context.Context, in *UserDeviceDelReq, opts ...grpc.CallOption) (*Empty, error)
|
|
|
|
|
+ UserDeviceGet(ctx context.Context, in *UserDeviceGetReq, opts ...grpc.CallOption) (*UserDeviceGetResp, error)
|
|
|
|
|
+ UserDeviceList(ctx context.Context, in *UserDeviceListReq, opts ...grpc.CallOption) (*UserDeviceListResp, error)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type goUserClientClient struct {
|
|
type goUserClientClient struct {
|
|
@@ -9387,6 +9420,156 @@ func (c *goUserClientClient) UserTestList(ctx context.Context, in *UserTestListR
|
|
|
return out, nil
|
|
return out, nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func (c *goUserClientClient) UserAdd(ctx context.Context, in *UserAddReq, opts ...grpc.CallOption) (*UserAddResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(UserAddResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserAdd_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserUpdate(ctx context.Context, in *UserUpdateReq, opts ...grpc.CallOption) (*UserUpdateResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(UserUpdateResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserUpdate_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserDel(ctx context.Context, in *UserDelReq, opts ...grpc.CallOption) (*Empty, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(Empty)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserDel_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserGet(ctx context.Context, in *UserGetReq, opts ...grpc.CallOption) (*UserGetResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(UserGetResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserGet_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserList(ctx context.Context, in *UserListReq, opts ...grpc.CallOption) (*UserListResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(UserListResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserList_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserCredentialAdd(ctx context.Context, in *UserCredentialAddReq, opts ...grpc.CallOption) (*UserCredentialAddResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(UserCredentialAddResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserCredentialAdd_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserCredentialUpdate(ctx context.Context, in *UserCredentialUpdateReq, opts ...grpc.CallOption) (*UserCredentialUpdateResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(UserCredentialUpdateResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserCredentialUpdate_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserCredentialDel(ctx context.Context, in *UserCredentialDelReq, opts ...grpc.CallOption) (*Empty, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(Empty)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserCredentialDel_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserCredentialGet(ctx context.Context, in *UserCredentialGetReq, opts ...grpc.CallOption) (*UserCredentialGetResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(UserCredentialGetResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserCredentialGet_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserCredentialList(ctx context.Context, in *UserCredentialListReq, opts ...grpc.CallOption) (*UserCredentialListResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(UserCredentialListResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserCredentialList_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserDeviceAdd(ctx context.Context, in *UserDeviceAddReq, opts ...grpc.CallOption) (*UserDeviceAddResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(UserDeviceAddResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserDeviceAdd_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserDeviceUpdate(ctx context.Context, in *UserDeviceUpdateReq, opts ...grpc.CallOption) (*UserDeviceUpdateResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(UserDeviceUpdateResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserDeviceUpdate_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserDeviceDel(ctx context.Context, in *UserDeviceDelReq, opts ...grpc.CallOption) (*Empty, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(Empty)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserDeviceDel_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserDeviceGet(ctx context.Context, in *UserDeviceGetReq, opts ...grpc.CallOption) (*UserDeviceGetResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(UserDeviceGetResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserDeviceGet_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goUserClientClient) UserDeviceList(ctx context.Context, in *UserDeviceListReq, opts ...grpc.CallOption) (*UserDeviceListResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(UserDeviceListResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoUserClient_UserDeviceList_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
// GoUserClientServer is the server API for GoUserClient service.
|
|
// GoUserClientServer is the server API for GoUserClient service.
|
|
|
// All implementations must embed UnimplementedGoUserClientServer
|
|
// All implementations must embed UnimplementedGoUserClientServer
|
|
|
// for forward compatibility.
|
|
// for forward compatibility.
|
|
@@ -9430,6 +9613,24 @@ type GoUserClientServer interface {
|
|
|
UserTestDel(context.Context, *Ids) (*Empty, error)
|
|
UserTestDel(context.Context, *Ids) (*Empty, error)
|
|
|
UserTestGet(context.Context, *UserTestVo) (*UserTestVo, error)
|
|
UserTestGet(context.Context, *UserTestVo) (*UserTestVo, error)
|
|
|
UserTestList(context.Context, *UserTestListReq) (*UserTestListResp, error)
|
|
UserTestList(context.Context, *UserTestListReq) (*UserTestListResp, error)
|
|
|
|
|
+ // User
|
|
|
|
|
+ UserAdd(context.Context, *UserAddReq) (*UserAddResp, error)
|
|
|
|
|
+ UserUpdate(context.Context, *UserUpdateReq) (*UserUpdateResp, error)
|
|
|
|
|
+ UserDel(context.Context, *UserDelReq) (*Empty, error)
|
|
|
|
|
+ UserGet(context.Context, *UserGetReq) (*UserGetResp, error)
|
|
|
|
|
+ UserList(context.Context, *UserListReq) (*UserListResp, error)
|
|
|
|
|
+ // UserCredential
|
|
|
|
|
+ UserCredentialAdd(context.Context, *UserCredentialAddReq) (*UserCredentialAddResp, error)
|
|
|
|
|
+ UserCredentialUpdate(context.Context, *UserCredentialUpdateReq) (*UserCredentialUpdateResp, error)
|
|
|
|
|
+ UserCredentialDel(context.Context, *UserCredentialDelReq) (*Empty, error)
|
|
|
|
|
+ UserCredentialGet(context.Context, *UserCredentialGetReq) (*UserCredentialGetResp, error)
|
|
|
|
|
+ UserCredentialList(context.Context, *UserCredentialListReq) (*UserCredentialListResp, error)
|
|
|
|
|
+ // UserDevice
|
|
|
|
|
+ UserDeviceAdd(context.Context, *UserDeviceAddReq) (*UserDeviceAddResp, error)
|
|
|
|
|
+ UserDeviceUpdate(context.Context, *UserDeviceUpdateReq) (*UserDeviceUpdateResp, error)
|
|
|
|
|
+ UserDeviceDel(context.Context, *UserDeviceDelReq) (*Empty, error)
|
|
|
|
|
+ UserDeviceGet(context.Context, *UserDeviceGetReq) (*UserDeviceGetResp, error)
|
|
|
|
|
+ UserDeviceList(context.Context, *UserDeviceListReq) (*UserDeviceListResp, error)
|
|
|
mustEmbedUnimplementedGoUserClientServer()
|
|
mustEmbedUnimplementedGoUserClientServer()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -9533,6 +9734,51 @@ func (UnimplementedGoUserClientServer) UserTestGet(context.Context, *UserTestVo)
|
|
|
func (UnimplementedGoUserClientServer) UserTestList(context.Context, *UserTestListReq) (*UserTestListResp, error) {
|
|
func (UnimplementedGoUserClientServer) UserTestList(context.Context, *UserTestListReq) (*UserTestListResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserTestList not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserTestList not implemented")
|
|
|
}
|
|
}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserAdd(context.Context, *UserAddReq) (*UserAddResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserAdd not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserUpdate(context.Context, *UserUpdateReq) (*UserUpdateResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserUpdate not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserDel(context.Context, *UserDelReq) (*Empty, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserDel not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserGet(context.Context, *UserGetReq) (*UserGetResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserGet not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserList(context.Context, *UserListReq) (*UserListResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserList not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserCredentialAdd(context.Context, *UserCredentialAddReq) (*UserCredentialAddResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserCredentialAdd not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserCredentialUpdate(context.Context, *UserCredentialUpdateReq) (*UserCredentialUpdateResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserCredentialUpdate not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserCredentialDel(context.Context, *UserCredentialDelReq) (*Empty, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserCredentialDel not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserCredentialGet(context.Context, *UserCredentialGetReq) (*UserCredentialGetResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserCredentialGet not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserCredentialList(context.Context, *UserCredentialListReq) (*UserCredentialListResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserCredentialList not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserDeviceAdd(context.Context, *UserDeviceAddReq) (*UserDeviceAddResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserDeviceAdd not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserDeviceUpdate(context.Context, *UserDeviceUpdateReq) (*UserDeviceUpdateResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserDeviceUpdate not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserDeviceDel(context.Context, *UserDeviceDelReq) (*Empty, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserDeviceDel not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserDeviceGet(context.Context, *UserDeviceGetReq) (*UserDeviceGetResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserDeviceGet not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserDeviceList(context.Context, *UserDeviceListReq) (*UserDeviceListResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserDeviceList not implemented")
|
|
|
|
|
+}
|
|
|
func (UnimplementedGoUserClientServer) mustEmbedUnimplementedGoUserClientServer() {}
|
|
func (UnimplementedGoUserClientServer) mustEmbedUnimplementedGoUserClientServer() {}
|
|
|
func (UnimplementedGoUserClientServer) testEmbeddedByValue() {}
|
|
func (UnimplementedGoUserClientServer) testEmbeddedByValue() {}
|
|
|
|
|
|
|
@@ -10112,6 +10358,276 @@ func _GoUserClient_UserTestList_Handler(srv interface{}, ctx context.Context, de
|
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func _GoUserClient_UserAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserAddReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserAdd(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserAdd_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserAdd(ctx, req.(*UserAddReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserUpdateReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserUpdate(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserUpdate_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserUpdate(ctx, req.(*UserUpdateReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserDelReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserDel(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserDel_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserDel(ctx, req.(*UserDelReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserGetReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserGet(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserGet_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserGet(ctx, req.(*UserGetReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserListReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserList(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserList_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserList(ctx, req.(*UserListReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserCredentialAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserCredentialAddReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserCredentialAdd(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserCredentialAdd_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserCredentialAdd(ctx, req.(*UserCredentialAddReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserCredentialUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserCredentialUpdateReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserCredentialUpdate(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserCredentialUpdate_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserCredentialUpdate(ctx, req.(*UserCredentialUpdateReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserCredentialDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserCredentialDelReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserCredentialDel(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserCredentialDel_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserCredentialDel(ctx, req.(*UserCredentialDelReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserCredentialGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserCredentialGetReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserCredentialGet(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserCredentialGet_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserCredentialGet(ctx, req.(*UserCredentialGetReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserCredentialList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserCredentialListReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserCredentialList(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserCredentialList_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserCredentialList(ctx, req.(*UserCredentialListReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserDeviceAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserDeviceAddReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserDeviceAdd(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserDeviceAdd_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserDeviceAdd(ctx, req.(*UserDeviceAddReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserDeviceUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserDeviceUpdateReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserDeviceUpdate(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserDeviceUpdate_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserDeviceUpdate(ctx, req.(*UserDeviceUpdateReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserDeviceDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserDeviceDelReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserDeviceDel(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserDeviceDel_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserDeviceDel(ctx, req.(*UserDeviceDelReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserDeviceGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserDeviceGetReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserDeviceGet(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserDeviceGet_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserDeviceGet(ctx, req.(*UserDeviceGetReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoUserClient_UserDeviceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(UserDeviceListReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserDeviceList(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoUserClient_UserDeviceList_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoUserClientServer).UserDeviceList(ctx, req.(*UserDeviceListReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
// GoUserClient_ServiceDesc is the grpc.ServiceDesc for GoUserClient service.
|
|
// GoUserClient_ServiceDesc is the grpc.ServiceDesc for GoUserClient service.
|
|
|
// It's only intended for direct use with grpc.RegisterService,
|
|
// It's only intended for direct use with grpc.RegisterService,
|
|
|
// and not to be introspected or modified (even as a copy)
|
|
// and not to be introspected or modified (even as a copy)
|
|
@@ -10243,6 +10759,66 @@ var GoUserClient_ServiceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "UserTestList",
|
|
MethodName: "UserTestList",
|
|
|
Handler: _GoUserClient_UserTestList_Handler,
|
|
Handler: _GoUserClient_UserTestList_Handler,
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserAdd",
|
|
|
|
|
+ Handler: _GoUserClient_UserAdd_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserUpdate",
|
|
|
|
|
+ Handler: _GoUserClient_UserUpdate_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserDel",
|
|
|
|
|
+ Handler: _GoUserClient_UserDel_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserGet",
|
|
|
|
|
+ Handler: _GoUserClient_UserGet_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserList",
|
|
|
|
|
+ Handler: _GoUserClient_UserList_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserCredentialAdd",
|
|
|
|
|
+ Handler: _GoUserClient_UserCredentialAdd_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserCredentialUpdate",
|
|
|
|
|
+ Handler: _GoUserClient_UserCredentialUpdate_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserCredentialDel",
|
|
|
|
|
+ Handler: _GoUserClient_UserCredentialDel_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserCredentialGet",
|
|
|
|
|
+ Handler: _GoUserClient_UserCredentialGet_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserCredentialList",
|
|
|
|
|
+ Handler: _GoUserClient_UserCredentialList_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserDeviceAdd",
|
|
|
|
|
+ Handler: _GoUserClient_UserDeviceAdd_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserDeviceUpdate",
|
|
|
|
|
+ Handler: _GoUserClient_UserDeviceUpdate_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserDeviceDel",
|
|
|
|
|
+ Handler: _GoUserClient_UserDeviceDel_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserDeviceGet",
|
|
|
|
|
+ Handler: _GoUserClient_UserDeviceGet_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "UserDeviceList",
|
|
|
|
|
+ Handler: _GoUserClient_UserDeviceList_Handler,
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
Streams: []grpc.StreamDesc{},
|
|
Streams: []grpc.StreamDesc{},
|
|
|
Metadata: "gorpc.proto",
|
|
Metadata: "gorpc.proto",
|