|
@@ -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 v6.33.0
|
|
|
|
|
|
|
+// - protoc v3.19.4
|
|
|
// source: gorpc.proto
|
|
// source: gorpc.proto
|
|
|
|
|
|
|
|
package pb
|
|
package pb
|
|
@@ -9126,16 +9126,16 @@ type GoUserClientClient interface {
|
|
|
AccountDeviceGet(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
|
|
AccountDeviceGet(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
|
|
|
AccountDeviceList(ctx context.Context, in *AccountDeviceListReq, opts ...grpc.CallOption) (*AccountDeviceListResp, error)
|
|
AccountDeviceList(ctx context.Context, in *AccountDeviceListReq, opts ...grpc.CallOption) (*AccountDeviceListResp, error)
|
|
|
// 用户白名单管理
|
|
// 用户白名单管理
|
|
|
- UserWhiteAdd(ctx context.Context, in *UserWhiteVo, opts ...grpc.CallOption) (*UserWhiteVo, error)
|
|
|
|
|
- UserWhiteUpdate(ctx context.Context, in *UserWhiteVo, opts ...grpc.CallOption) (*UserWhiteVo, error)
|
|
|
|
|
- UserWhiteDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
|
|
|
|
|
- UserWhiteGet(ctx context.Context, in *UserWhiteVo, opts ...grpc.CallOption) (*UserWhiteVo, error)
|
|
|
|
|
|
|
+ UserWhiteAdd(ctx context.Context, in *UserWhiteAddReq, opts ...grpc.CallOption) (*UserWhiteAddResp, error)
|
|
|
|
|
+ UserWhiteUpdate(ctx context.Context, in *UserWhiteUpdateReq, opts ...grpc.CallOption) (*UserWhiteUpdateResp, error)
|
|
|
|
|
+ UserWhiteDel(ctx context.Context, in *UserWhiteDelReq, opts ...grpc.CallOption) (*Empty, error)
|
|
|
|
|
+ UserWhiteGet(ctx context.Context, in *UserWhiteGetReq, opts ...grpc.CallOption) (*UserWhiteGetResp, error)
|
|
|
UserWhiteList(ctx context.Context, in *UserWhiteListReq, opts ...grpc.CallOption) (*UserWhiteListResp, error)
|
|
UserWhiteList(ctx context.Context, in *UserWhiteListReq, opts ...grpc.CallOption) (*UserWhiteListResp, error)
|
|
|
// 测试用户管理
|
|
// 测试用户管理
|
|
|
- UserTestAdd(ctx context.Context, in *UserTestVo, opts ...grpc.CallOption) (*UserTestVo, error)
|
|
|
|
|
- UserTestUpdate(ctx context.Context, in *UserTestVo, opts ...grpc.CallOption) (*UserTestVo, error)
|
|
|
|
|
- UserTestDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
|
|
|
|
|
- UserTestGet(ctx context.Context, in *UserTestVo, opts ...grpc.CallOption) (*UserTestVo, error)
|
|
|
|
|
|
|
+ UserTestAdd(ctx context.Context, in *UserTestAddReq, opts ...grpc.CallOption) (*UserTestAddResp, error)
|
|
|
|
|
+ UserTestUpdate(ctx context.Context, in *UserTestUpdateReq, opts ...grpc.CallOption) (*UserTestUpdateResp, error)
|
|
|
|
|
+ UserTestDel(ctx context.Context, in *UserTestDelReq, opts ...grpc.CallOption) (*Empty, error)
|
|
|
|
|
+ UserTestGet(ctx context.Context, in *UserTestGetReq, opts ...grpc.CallOption) (*UserTestGetResp, error)
|
|
|
UserTestList(ctx context.Context, in *UserTestListReq, opts ...grpc.CallOption) (*UserTestListResp, error)
|
|
UserTestList(ctx context.Context, in *UserTestListReq, opts ...grpc.CallOption) (*UserTestListResp, error)
|
|
|
// User Model
|
|
// User Model
|
|
|
// UserAdd
|
|
// UserAdd
|
|
@@ -9408,9 +9408,9 @@ func (c *goUserClientClient) AccountDeviceList(ctx context.Context, in *AccountD
|
|
|
return out, nil
|
|
return out, nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (c *goUserClientClient) UserWhiteAdd(ctx context.Context, in *UserWhiteVo, opts ...grpc.CallOption) (*UserWhiteVo, error) {
|
|
|
|
|
|
|
+func (c *goUserClientClient) UserWhiteAdd(ctx context.Context, in *UserWhiteAddReq, opts ...grpc.CallOption) (*UserWhiteAddResp, error) {
|
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
- out := new(UserWhiteVo)
|
|
|
|
|
|
|
+ out := new(UserWhiteAddResp)
|
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserWhiteAdd_FullMethodName, in, out, cOpts...)
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserWhiteAdd_FullMethodName, in, out, cOpts...)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
@@ -9418,9 +9418,9 @@ func (c *goUserClientClient) UserWhiteAdd(ctx context.Context, in *UserWhiteVo,
|
|
|
return out, nil
|
|
return out, nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (c *goUserClientClient) UserWhiteUpdate(ctx context.Context, in *UserWhiteVo, opts ...grpc.CallOption) (*UserWhiteVo, error) {
|
|
|
|
|
|
|
+func (c *goUserClientClient) UserWhiteUpdate(ctx context.Context, in *UserWhiteUpdateReq, opts ...grpc.CallOption) (*UserWhiteUpdateResp, error) {
|
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
- out := new(UserWhiteVo)
|
|
|
|
|
|
|
+ out := new(UserWhiteUpdateResp)
|
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserWhiteUpdate_FullMethodName, in, out, cOpts...)
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserWhiteUpdate_FullMethodName, in, out, cOpts...)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
@@ -9428,7 +9428,7 @@ func (c *goUserClientClient) UserWhiteUpdate(ctx context.Context, in *UserWhiteV
|
|
|
return out, nil
|
|
return out, nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (c *goUserClientClient) UserWhiteDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
|
|
|
|
|
|
|
+func (c *goUserClientClient) UserWhiteDel(ctx context.Context, in *UserWhiteDelReq, opts ...grpc.CallOption) (*Empty, error) {
|
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
out := new(Empty)
|
|
out := new(Empty)
|
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserWhiteDel_FullMethodName, in, out, cOpts...)
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserWhiteDel_FullMethodName, in, out, cOpts...)
|
|
@@ -9438,9 +9438,9 @@ func (c *goUserClientClient) UserWhiteDel(ctx context.Context, in *Ids, opts ...
|
|
|
return out, nil
|
|
return out, nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (c *goUserClientClient) UserWhiteGet(ctx context.Context, in *UserWhiteVo, opts ...grpc.CallOption) (*UserWhiteVo, error) {
|
|
|
|
|
|
|
+func (c *goUserClientClient) UserWhiteGet(ctx context.Context, in *UserWhiteGetReq, opts ...grpc.CallOption) (*UserWhiteGetResp, error) {
|
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
- out := new(UserWhiteVo)
|
|
|
|
|
|
|
+ out := new(UserWhiteGetResp)
|
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserWhiteGet_FullMethodName, in, out, cOpts...)
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserWhiteGet_FullMethodName, in, out, cOpts...)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
@@ -9458,9 +9458,9 @@ func (c *goUserClientClient) UserWhiteList(ctx context.Context, in *UserWhiteLis
|
|
|
return out, nil
|
|
return out, nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (c *goUserClientClient) UserTestAdd(ctx context.Context, in *UserTestVo, opts ...grpc.CallOption) (*UserTestVo, error) {
|
|
|
|
|
|
|
+func (c *goUserClientClient) UserTestAdd(ctx context.Context, in *UserTestAddReq, opts ...grpc.CallOption) (*UserTestAddResp, error) {
|
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
- out := new(UserTestVo)
|
|
|
|
|
|
|
+ out := new(UserTestAddResp)
|
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserTestAdd_FullMethodName, in, out, cOpts...)
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserTestAdd_FullMethodName, in, out, cOpts...)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
@@ -9468,9 +9468,9 @@ func (c *goUserClientClient) UserTestAdd(ctx context.Context, in *UserTestVo, op
|
|
|
return out, nil
|
|
return out, nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (c *goUserClientClient) UserTestUpdate(ctx context.Context, in *UserTestVo, opts ...grpc.CallOption) (*UserTestVo, error) {
|
|
|
|
|
|
|
+func (c *goUserClientClient) UserTestUpdate(ctx context.Context, in *UserTestUpdateReq, opts ...grpc.CallOption) (*UserTestUpdateResp, error) {
|
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
- out := new(UserTestVo)
|
|
|
|
|
|
|
+ out := new(UserTestUpdateResp)
|
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserTestUpdate_FullMethodName, in, out, cOpts...)
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserTestUpdate_FullMethodName, in, out, cOpts...)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
@@ -9478,7 +9478,7 @@ func (c *goUserClientClient) UserTestUpdate(ctx context.Context, in *UserTestVo,
|
|
|
return out, nil
|
|
return out, nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (c *goUserClientClient) UserTestDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
|
|
|
|
|
|
|
+func (c *goUserClientClient) UserTestDel(ctx context.Context, in *UserTestDelReq, opts ...grpc.CallOption) (*Empty, error) {
|
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
out := new(Empty)
|
|
out := new(Empty)
|
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserTestDel_FullMethodName, in, out, cOpts...)
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserTestDel_FullMethodName, in, out, cOpts...)
|
|
@@ -9488,9 +9488,9 @@ func (c *goUserClientClient) UserTestDel(ctx context.Context, in *Ids, opts ...g
|
|
|
return out, nil
|
|
return out, nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (c *goUserClientClient) UserTestGet(ctx context.Context, in *UserTestVo, opts ...grpc.CallOption) (*UserTestVo, error) {
|
|
|
|
|
|
|
+func (c *goUserClientClient) UserTestGet(ctx context.Context, in *UserTestGetReq, opts ...grpc.CallOption) (*UserTestGetResp, error) {
|
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
- out := new(UserTestVo)
|
|
|
|
|
|
|
+ out := new(UserTestGetResp)
|
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserTestGet_FullMethodName, in, out, cOpts...)
|
|
err := c.cc.Invoke(ctx, GoUserClient_UserTestGet_FullMethodName, in, out, cOpts...)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
@@ -9696,16 +9696,16 @@ type GoUserClientServer interface {
|
|
|
AccountDeviceGet(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error)
|
|
AccountDeviceGet(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error)
|
|
|
AccountDeviceList(context.Context, *AccountDeviceListReq) (*AccountDeviceListResp, error)
|
|
AccountDeviceList(context.Context, *AccountDeviceListReq) (*AccountDeviceListResp, error)
|
|
|
// 用户白名单管理
|
|
// 用户白名单管理
|
|
|
- UserWhiteAdd(context.Context, *UserWhiteVo) (*UserWhiteVo, error)
|
|
|
|
|
- UserWhiteUpdate(context.Context, *UserWhiteVo) (*UserWhiteVo, error)
|
|
|
|
|
- UserWhiteDel(context.Context, *Ids) (*Empty, error)
|
|
|
|
|
- UserWhiteGet(context.Context, *UserWhiteVo) (*UserWhiteVo, error)
|
|
|
|
|
|
|
+ UserWhiteAdd(context.Context, *UserWhiteAddReq) (*UserWhiteAddResp, error)
|
|
|
|
|
+ UserWhiteUpdate(context.Context, *UserWhiteUpdateReq) (*UserWhiteUpdateResp, error)
|
|
|
|
|
+ UserWhiteDel(context.Context, *UserWhiteDelReq) (*Empty, error)
|
|
|
|
|
+ UserWhiteGet(context.Context, *UserWhiteGetReq) (*UserWhiteGetResp, error)
|
|
|
UserWhiteList(context.Context, *UserWhiteListReq) (*UserWhiteListResp, error)
|
|
UserWhiteList(context.Context, *UserWhiteListReq) (*UserWhiteListResp, error)
|
|
|
// 测试用户管理
|
|
// 测试用户管理
|
|
|
- UserTestAdd(context.Context, *UserTestVo) (*UserTestVo, error)
|
|
|
|
|
- UserTestUpdate(context.Context, *UserTestVo) (*UserTestVo, error)
|
|
|
|
|
- UserTestDel(context.Context, *Ids) (*Empty, error)
|
|
|
|
|
- UserTestGet(context.Context, *UserTestVo) (*UserTestVo, error)
|
|
|
|
|
|
|
+ UserTestAdd(context.Context, *UserTestAddReq) (*UserTestAddResp, error)
|
|
|
|
|
+ UserTestUpdate(context.Context, *UserTestUpdateReq) (*UserTestUpdateResp, error)
|
|
|
|
|
+ UserTestDel(context.Context, *UserTestDelReq) (*Empty, error)
|
|
|
|
|
+ UserTestGet(context.Context, *UserTestGetReq) (*UserTestGetResp, error)
|
|
|
UserTestList(context.Context, *UserTestListReq) (*UserTestListResp, error)
|
|
UserTestList(context.Context, *UserTestListReq) (*UserTestListResp, error)
|
|
|
// User Model
|
|
// User Model
|
|
|
// UserAdd
|
|
// UserAdd
|
|
@@ -9810,31 +9810,31 @@ func (UnimplementedGoUserClientServer) AccountDeviceGet(context.Context, *Accoun
|
|
|
func (UnimplementedGoUserClientServer) AccountDeviceList(context.Context, *AccountDeviceListReq) (*AccountDeviceListResp, error) {
|
|
func (UnimplementedGoUserClientServer) AccountDeviceList(context.Context, *AccountDeviceListReq) (*AccountDeviceListResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method AccountDeviceList not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method AccountDeviceList not implemented")
|
|
|
}
|
|
}
|
|
|
-func (UnimplementedGoUserClientServer) UserWhiteAdd(context.Context, *UserWhiteVo) (*UserWhiteVo, error) {
|
|
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserWhiteAdd(context.Context, *UserWhiteAddReq) (*UserWhiteAddResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserWhiteAdd not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserWhiteAdd not implemented")
|
|
|
}
|
|
}
|
|
|
-func (UnimplementedGoUserClientServer) UserWhiteUpdate(context.Context, *UserWhiteVo) (*UserWhiteVo, error) {
|
|
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserWhiteUpdate(context.Context, *UserWhiteUpdateReq) (*UserWhiteUpdateResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserWhiteUpdate not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserWhiteUpdate not implemented")
|
|
|
}
|
|
}
|
|
|
-func (UnimplementedGoUserClientServer) UserWhiteDel(context.Context, *Ids) (*Empty, error) {
|
|
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserWhiteDel(context.Context, *UserWhiteDelReq) (*Empty, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserWhiteDel not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserWhiteDel not implemented")
|
|
|
}
|
|
}
|
|
|
-func (UnimplementedGoUserClientServer) UserWhiteGet(context.Context, *UserWhiteVo) (*UserWhiteVo, error) {
|
|
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserWhiteGet(context.Context, *UserWhiteGetReq) (*UserWhiteGetResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserWhiteGet not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserWhiteGet not implemented")
|
|
|
}
|
|
}
|
|
|
func (UnimplementedGoUserClientServer) UserWhiteList(context.Context, *UserWhiteListReq) (*UserWhiteListResp, error) {
|
|
func (UnimplementedGoUserClientServer) UserWhiteList(context.Context, *UserWhiteListReq) (*UserWhiteListResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserWhiteList not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserWhiteList not implemented")
|
|
|
}
|
|
}
|
|
|
-func (UnimplementedGoUserClientServer) UserTestAdd(context.Context, *UserTestVo) (*UserTestVo, error) {
|
|
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserTestAdd(context.Context, *UserTestAddReq) (*UserTestAddResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserTestAdd not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserTestAdd not implemented")
|
|
|
}
|
|
}
|
|
|
-func (UnimplementedGoUserClientServer) UserTestUpdate(context.Context, *UserTestVo) (*UserTestVo, error) {
|
|
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserTestUpdate(context.Context, *UserTestUpdateReq) (*UserTestUpdateResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserTestUpdate not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserTestUpdate not implemented")
|
|
|
}
|
|
}
|
|
|
-func (UnimplementedGoUserClientServer) UserTestDel(context.Context, *Ids) (*Empty, error) {
|
|
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserTestDel(context.Context, *UserTestDelReq) (*Empty, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserTestDel not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserTestDel not implemented")
|
|
|
}
|
|
}
|
|
|
-func (UnimplementedGoUserClientServer) UserTestGet(context.Context, *UserTestVo) (*UserTestVo, error) {
|
|
|
|
|
|
|
+func (UnimplementedGoUserClientServer) UserTestGet(context.Context, *UserTestGetReq) (*UserTestGetResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserTestGet not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method UserTestGet not implemented")
|
|
|
}
|
|
}
|
|
|
func (UnimplementedGoUserClientServer) UserTestList(context.Context, *UserTestListReq) (*UserTestListResp, error) {
|
|
func (UnimplementedGoUserClientServer) UserTestList(context.Context, *UserTestListReq) (*UserTestListResp, error) {
|
|
@@ -10339,7 +10339,7 @@ func _GoUserClient_AccountDeviceList_Handler(srv interface{}, ctx context.Contex
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func _GoUserClient_UserWhiteAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
func _GoUserClient_UserWhiteAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(UserWhiteVo)
|
|
|
|
|
|
|
+ in := new(UserWhiteAddReq)
|
|
|
if err := dec(in); err != nil {
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
|
}
|
|
}
|
|
@@ -10351,13 +10351,13 @@ func _GoUserClient_UserWhiteAdd_Handler(srv interface{}, ctx context.Context, de
|
|
|
FullMethod: GoUserClient_UserWhiteAdd_FullMethodName,
|
|
FullMethod: GoUserClient_UserWhiteAdd_FullMethodName,
|
|
|
}
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(GoUserClientServer).UserWhiteAdd(ctx, req.(*UserWhiteVo))
|
|
|
|
|
|
|
+ return srv.(GoUserClientServer).UserWhiteAdd(ctx, req.(*UserWhiteAddReq))
|
|
|
}
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func _GoUserClient_UserWhiteUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
func _GoUserClient_UserWhiteUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(UserWhiteVo)
|
|
|
|
|
|
|
+ in := new(UserWhiteUpdateReq)
|
|
|
if err := dec(in); err != nil {
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
|
}
|
|
}
|
|
@@ -10369,13 +10369,13 @@ func _GoUserClient_UserWhiteUpdate_Handler(srv interface{}, ctx context.Context,
|
|
|
FullMethod: GoUserClient_UserWhiteUpdate_FullMethodName,
|
|
FullMethod: GoUserClient_UserWhiteUpdate_FullMethodName,
|
|
|
}
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(GoUserClientServer).UserWhiteUpdate(ctx, req.(*UserWhiteVo))
|
|
|
|
|
|
|
+ return srv.(GoUserClientServer).UserWhiteUpdate(ctx, req.(*UserWhiteUpdateReq))
|
|
|
}
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func _GoUserClient_UserWhiteDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
func _GoUserClient_UserWhiteDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(Ids)
|
|
|
|
|
|
|
+ in := new(UserWhiteDelReq)
|
|
|
if err := dec(in); err != nil {
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
|
}
|
|
}
|
|
@@ -10387,13 +10387,13 @@ func _GoUserClient_UserWhiteDel_Handler(srv interface{}, ctx context.Context, de
|
|
|
FullMethod: GoUserClient_UserWhiteDel_FullMethodName,
|
|
FullMethod: GoUserClient_UserWhiteDel_FullMethodName,
|
|
|
}
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(GoUserClientServer).UserWhiteDel(ctx, req.(*Ids))
|
|
|
|
|
|
|
+ return srv.(GoUserClientServer).UserWhiteDel(ctx, req.(*UserWhiteDelReq))
|
|
|
}
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func _GoUserClient_UserWhiteGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
func _GoUserClient_UserWhiteGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(UserWhiteVo)
|
|
|
|
|
|
|
+ in := new(UserWhiteGetReq)
|
|
|
if err := dec(in); err != nil {
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
|
}
|
|
}
|
|
@@ -10405,7 +10405,7 @@ func _GoUserClient_UserWhiteGet_Handler(srv interface{}, ctx context.Context, de
|
|
|
FullMethod: GoUserClient_UserWhiteGet_FullMethodName,
|
|
FullMethod: GoUserClient_UserWhiteGet_FullMethodName,
|
|
|
}
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(GoUserClientServer).UserWhiteGet(ctx, req.(*UserWhiteVo))
|
|
|
|
|
|
|
+ return srv.(GoUserClientServer).UserWhiteGet(ctx, req.(*UserWhiteGetReq))
|
|
|
}
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
}
|
|
@@ -10429,7 +10429,7 @@ func _GoUserClient_UserWhiteList_Handler(srv interface{}, ctx context.Context, d
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func _GoUserClient_UserTestAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
func _GoUserClient_UserTestAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(UserTestVo)
|
|
|
|
|
|
|
+ in := new(UserTestAddReq)
|
|
|
if err := dec(in); err != nil {
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
|
}
|
|
}
|
|
@@ -10441,13 +10441,13 @@ func _GoUserClient_UserTestAdd_Handler(srv interface{}, ctx context.Context, dec
|
|
|
FullMethod: GoUserClient_UserTestAdd_FullMethodName,
|
|
FullMethod: GoUserClient_UserTestAdd_FullMethodName,
|
|
|
}
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(GoUserClientServer).UserTestAdd(ctx, req.(*UserTestVo))
|
|
|
|
|
|
|
+ return srv.(GoUserClientServer).UserTestAdd(ctx, req.(*UserTestAddReq))
|
|
|
}
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func _GoUserClient_UserTestUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
func _GoUserClient_UserTestUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(UserTestVo)
|
|
|
|
|
|
|
+ in := new(UserTestUpdateReq)
|
|
|
if err := dec(in); err != nil {
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
|
}
|
|
}
|
|
@@ -10459,13 +10459,13 @@ func _GoUserClient_UserTestUpdate_Handler(srv interface{}, ctx context.Context,
|
|
|
FullMethod: GoUserClient_UserTestUpdate_FullMethodName,
|
|
FullMethod: GoUserClient_UserTestUpdate_FullMethodName,
|
|
|
}
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(GoUserClientServer).UserTestUpdate(ctx, req.(*UserTestVo))
|
|
|
|
|
|
|
+ return srv.(GoUserClientServer).UserTestUpdate(ctx, req.(*UserTestUpdateReq))
|
|
|
}
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func _GoUserClient_UserTestDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
func _GoUserClient_UserTestDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(Ids)
|
|
|
|
|
|
|
+ in := new(UserTestDelReq)
|
|
|
if err := dec(in); err != nil {
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
|
}
|
|
}
|
|
@@ -10477,13 +10477,13 @@ func _GoUserClient_UserTestDel_Handler(srv interface{}, ctx context.Context, dec
|
|
|
FullMethod: GoUserClient_UserTestDel_FullMethodName,
|
|
FullMethod: GoUserClient_UserTestDel_FullMethodName,
|
|
|
}
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(GoUserClientServer).UserTestDel(ctx, req.(*Ids))
|
|
|
|
|
|
|
+ return srv.(GoUserClientServer).UserTestDel(ctx, req.(*UserTestDelReq))
|
|
|
}
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func _GoUserClient_UserTestGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
func _GoUserClient_UserTestGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(UserTestVo)
|
|
|
|
|
|
|
+ in := new(UserTestGetReq)
|
|
|
if err := dec(in); err != nil {
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
|
}
|
|
}
|
|
@@ -10495,7 +10495,7 @@ func _GoUserClient_UserTestGet_Handler(srv interface{}, ctx context.Context, dec
|
|
|
FullMethod: GoUserClient_UserTestGet_FullMethodName,
|
|
FullMethod: GoUserClient_UserTestGet_FullMethodName,
|
|
|
}
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(GoUserClientServer).UserTestGet(ctx, req.(*UserTestVo))
|
|
|
|
|
|
|
+ return srv.(GoUserClientServer).UserTestGet(ctx, req.(*UserTestGetReq))
|
|
|
}
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
}
|