add apis
CI / changes (push) Successful in 1m32s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 1s
CI / analysis (push) Successful in 0s
CI / bff (push) Successful in 29s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 1s
CI / message (push) Successful in 0s
CI / order (push) Successful in 1s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 27s
CI / product (push) Successful in 1s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 1s
CI / ws (push) Successful in 0s
CI / changes (push) Successful in 1m32s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 1s
CI / analysis (push) Successful in 0s
CI / bff (push) Successful in 29s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 1s
CI / message (push) Successful in 0s
CI / order (push) Successful in 1s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 27s
CI / product (push) Successful in 1s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 1s
CI / ws (push) Successful in 0s
This commit is contained in:
@@ -25,7 +25,10 @@ const (
|
||||
Percutaneous_UsedLog_FullMethodName = "/percutaneous.Percutaneous/UsedLog"
|
||||
Percutaneous_AddUser_FullMethodName = "/percutaneous.Percutaneous/AddUser"
|
||||
Percutaneous_UserItems_FullMethodName = "/percutaneous.Percutaneous/UserItems"
|
||||
Percutaneous_UserStoreItems_FullMethodName = "/percutaneous.Percutaneous/UserStoreItems"
|
||||
Percutaneous_UserDelete_FullMethodName = "/percutaneous.Percutaneous/UserDelete"
|
||||
Percutaneous_UserStoreDelete_FullMethodName = "/percutaneous.Percutaneous/UserStoreDelete"
|
||||
Percutaneous_UsedStoreLog_FullMethodName = "/percutaneous.Percutaneous/UsedStoreLog"
|
||||
Percutaneous_SetPosition_FullMethodName = "/percutaneous.Percutaneous/setPosition"
|
||||
Percutaneous_GetWsCode_FullMethodName = "/percutaneous.Percutaneous/getWsCode"
|
||||
Percutaneous_WsClientStatus_FullMethodName = "/percutaneous.Percutaneous/WsClientStatus"
|
||||
@@ -42,7 +45,10 @@ type PercutaneousClient interface {
|
||||
UsedLog(ctx context.Context, in *UsedLogRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
AddUser(ctx context.Context, in *AddUserRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
UserItems(ctx context.Context, in *UserItemsRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
UserStoreItems(ctx context.Context, in *UserItemsRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
UserDelete(ctx context.Context, in *AddUserRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
UserStoreDelete(ctx context.Context, in *AddUserRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
UsedStoreLog(ctx context.Context, in *UsedLogRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
// 使用指南
|
||||
SetPosition(ctx context.Context, in *SetPositionRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
GetWsCode(ctx context.Context, in *GetWsCodeRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
@@ -119,6 +125,16 @@ func (c *percutaneousClient) UserItems(ctx context.Context, in *UserItemsRequest
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *percutaneousClient) UserStoreItems(ctx context.Context, in *UserItemsRequest, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Percutaneous_UserStoreItems_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *percutaneousClient) UserDelete(ctx context.Context, in *AddUserRequest, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
@@ -129,6 +145,26 @@ func (c *percutaneousClient) UserDelete(ctx context.Context, in *AddUserRequest,
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *percutaneousClient) UserStoreDelete(ctx context.Context, in *AddUserRequest, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Percutaneous_UserStoreDelete_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *percutaneousClient) UsedStoreLog(ctx context.Context, in *UsedLogRequest, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Percutaneous_UsedStoreLog_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *percutaneousClient) SetPosition(ctx context.Context, in *SetPositionRequest, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
@@ -182,7 +218,10 @@ type PercutaneousServer interface {
|
||||
UsedLog(context.Context, *UsedLogRequest) (*Response, error)
|
||||
AddUser(context.Context, *AddUserRequest) (*Response, error)
|
||||
UserItems(context.Context, *UserItemsRequest) (*Response, error)
|
||||
UserStoreItems(context.Context, *UserItemsRequest) (*Response, error)
|
||||
UserDelete(context.Context, *AddUserRequest) (*Response, error)
|
||||
UserStoreDelete(context.Context, *AddUserRequest) (*Response, error)
|
||||
UsedStoreLog(context.Context, *UsedLogRequest) (*Response, error)
|
||||
// 使用指南
|
||||
SetPosition(context.Context, *SetPositionRequest) (*Response, error)
|
||||
GetWsCode(context.Context, *GetWsCodeRequest) (*Response, error)
|
||||
@@ -217,9 +256,18 @@ func (UnimplementedPercutaneousServer) AddUser(context.Context, *AddUserRequest)
|
||||
func (UnimplementedPercutaneousServer) UserItems(context.Context, *UserItemsRequest) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UserItems not implemented")
|
||||
}
|
||||
func (UnimplementedPercutaneousServer) UserStoreItems(context.Context, *UserItemsRequest) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UserStoreItems not implemented")
|
||||
}
|
||||
func (UnimplementedPercutaneousServer) UserDelete(context.Context, *AddUserRequest) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UserDelete not implemented")
|
||||
}
|
||||
func (UnimplementedPercutaneousServer) UserStoreDelete(context.Context, *AddUserRequest) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UserStoreDelete not implemented")
|
||||
}
|
||||
func (UnimplementedPercutaneousServer) UsedStoreLog(context.Context, *UsedLogRequest) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method UsedStoreLog not implemented")
|
||||
}
|
||||
func (UnimplementedPercutaneousServer) SetPosition(context.Context, *SetPositionRequest) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method SetPosition not implemented")
|
||||
}
|
||||
@@ -361,6 +409,24 @@ func _Percutaneous_UserItems_Handler(srv interface{}, ctx context.Context, dec f
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Percutaneous_UserStoreItems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UserItemsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(PercutaneousServer).UserStoreItems(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Percutaneous_UserStoreItems_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PercutaneousServer).UserStoreItems(ctx, req.(*UserItemsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Percutaneous_UserDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(AddUserRequest)
|
||||
if err := dec(in); err != nil {
|
||||
@@ -379,6 +445,42 @@ func _Percutaneous_UserDelete_Handler(srv interface{}, ctx context.Context, dec
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Percutaneous_UserStoreDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(AddUserRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(PercutaneousServer).UserStoreDelete(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Percutaneous_UserStoreDelete_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PercutaneousServer).UserStoreDelete(ctx, req.(*AddUserRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Percutaneous_UsedStoreLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UsedLogRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(PercutaneousServer).UsedStoreLog(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Percutaneous_UsedStoreLog_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PercutaneousServer).UsedStoreLog(ctx, req.(*UsedLogRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Percutaneous_SetPosition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SetPositionRequest)
|
||||
if err := dec(in); err != nil {
|
||||
@@ -471,10 +573,22 @@ var Percutaneous_ServiceDesc = grpc.ServiceDesc{
|
||||
MethodName: "UserItems",
|
||||
Handler: _Percutaneous_UserItems_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UserStoreItems",
|
||||
Handler: _Percutaneous_UserStoreItems_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UserDelete",
|
||||
Handler: _Percutaneous_UserDelete_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UserStoreDelete",
|
||||
Handler: _Percutaneous_UserStoreDelete_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UsedStoreLog",
|
||||
Handler: _Percutaneous_UsedStoreLog_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "setPosition",
|
||||
Handler: _Percutaneous_SetPosition_Handler,
|
||||
|
||||
Reference in New Issue
Block a user