feat: device info and bind
CI / changes (push) Successful in 1m30s
CI / ad (push) Successful in 31s
CI / admin (push) Successful in 24s
CI / bff (push) Successful in 31s
CI / chore (push) Successful in 27s
CI / equipment (push) Successful in 21s
CI / express (push) Successful in 23s
CI / factory (push) Successful in 21s
CI / message (push) Successful in 21s
CI / order (push) Successful in 22s
CI / payment (push) Successful in 20s
CI / percutaneous (push) Successful in 20s
CI / product (push) Successful in 20s
CI / record (push) Successful in 19s
CI / sale (push) Successful in 19s
CI / support (push) Successful in 20s
CI / task (push) Successful in 19s
CI / user (push) Successful in 21s
CI / wecom (push) Successful in 22s
CI / changes (push) Successful in 1m30s
CI / ad (push) Successful in 31s
CI / admin (push) Successful in 24s
CI / bff (push) Successful in 31s
CI / chore (push) Successful in 27s
CI / equipment (push) Successful in 21s
CI / express (push) Successful in 23s
CI / factory (push) Successful in 21s
CI / message (push) Successful in 21s
CI / order (push) Successful in 22s
CI / payment (push) Successful in 20s
CI / percutaneous (push) Successful in 20s
CI / product (push) Successful in 20s
CI / record (push) Successful in 19s
CI / sale (push) Successful in 19s
CI / support (push) Successful in 20s
CI / task (push) Successful in 19s
CI / user (push) Successful in 21s
CI / wecom (push) Successful in 22s
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.6.2
|
||||
// - protoc v4.25.8
|
||||
// - protoc v3.19.4
|
||||
// source: equipment/equipment.proto
|
||||
|
||||
package equipment
|
||||
@@ -42,6 +42,10 @@ const (
|
||||
Equipment_ApiMaskStoreUse_FullMethodName = "/equipment.Equipment/ApiMaskStoreUse"
|
||||
Equipment_ApiMaskStoreUseItems_FullMethodName = "/equipment.Equipment/ApiMaskStoreUseItems"
|
||||
Equipment_ApiVersion_FullMethodName = "/equipment.Equipment/ApiVersion"
|
||||
Equipment_ApiBindInfo_FullMethodName = "/equipment.Equipment/ApiBindInfo"
|
||||
Equipment_ApiBindUpdate_FullMethodName = "/equipment.Equipment/ApiBindUpdate"
|
||||
Equipment_InternalBindAdd_FullMethodName = "/equipment.Equipment/InternalBindAdd"
|
||||
Equipment_InternalBindInfo_FullMethodName = "/equipment.Equipment/InternalBindInfo"
|
||||
)
|
||||
|
||||
// EquipmentClient is the client API for Equipment service.
|
||||
@@ -72,6 +76,10 @@ type EquipmentClient interface {
|
||||
ApiMaskStoreUse(ctx context.Context, in *ApiMaskUseRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
ApiMaskStoreUseItems(ctx context.Context, in *ApiMaskUsedItemsRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
ApiVersion(ctx context.Context, in *ApiVersionRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
ApiBindInfo(ctx context.Context, in *ApiBindInfoRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
ApiBindUpdate(ctx context.Context, in *ApiBindUpdateRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
InternalBindAdd(ctx context.Context, in *InternalBindAddRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
InternalBindInfo(ctx context.Context, in *InternalBindInfoRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
}
|
||||
|
||||
type equipmentClient struct {
|
||||
@@ -312,6 +320,46 @@ func (c *equipmentClient) ApiVersion(ctx context.Context, in *ApiVersionRequest,
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *equipmentClient) ApiBindInfo(ctx context.Context, in *ApiBindInfoRequest, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Equipment_ApiBindInfo_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *equipmentClient) ApiBindUpdate(ctx context.Context, in *ApiBindUpdateRequest, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Equipment_ApiBindUpdate_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *equipmentClient) InternalBindAdd(ctx context.Context, in *InternalBindAddRequest, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Equipment_InternalBindAdd_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *equipmentClient) InternalBindInfo(ctx context.Context, in *InternalBindInfoRequest, opts ...grpc.CallOption) (*Response, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
err := c.cc.Invoke(ctx, Equipment_InternalBindInfo_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// EquipmentServer is the server API for Equipment service.
|
||||
// All implementations must embed UnimplementedEquipmentServer
|
||||
// for forward compatibility.
|
||||
@@ -340,6 +388,10 @@ type EquipmentServer interface {
|
||||
ApiMaskStoreUse(context.Context, *ApiMaskUseRequest) (*Response, error)
|
||||
ApiMaskStoreUseItems(context.Context, *ApiMaskUsedItemsRequest) (*Response, error)
|
||||
ApiVersion(context.Context, *ApiVersionRequest) (*Response, error)
|
||||
ApiBindInfo(context.Context, *ApiBindInfoRequest) (*Response, error)
|
||||
ApiBindUpdate(context.Context, *ApiBindUpdateRequest) (*Response, error)
|
||||
InternalBindAdd(context.Context, *InternalBindAddRequest) (*Response, error)
|
||||
InternalBindInfo(context.Context, *InternalBindInfoRequest) (*Response, error)
|
||||
mustEmbedUnimplementedEquipmentServer()
|
||||
}
|
||||
|
||||
@@ -419,6 +471,18 @@ func (UnimplementedEquipmentServer) ApiMaskStoreUseItems(context.Context, *ApiMa
|
||||
func (UnimplementedEquipmentServer) ApiVersion(context.Context, *ApiVersionRequest) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method ApiVersion not implemented")
|
||||
}
|
||||
func (UnimplementedEquipmentServer) ApiBindInfo(context.Context, *ApiBindInfoRequest) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method ApiBindInfo not implemented")
|
||||
}
|
||||
func (UnimplementedEquipmentServer) ApiBindUpdate(context.Context, *ApiBindUpdateRequest) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method ApiBindUpdate not implemented")
|
||||
}
|
||||
func (UnimplementedEquipmentServer) InternalBindAdd(context.Context, *InternalBindAddRequest) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method InternalBindAdd not implemented")
|
||||
}
|
||||
func (UnimplementedEquipmentServer) InternalBindInfo(context.Context, *InternalBindInfoRequest) (*Response, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method InternalBindInfo not implemented")
|
||||
}
|
||||
func (UnimplementedEquipmentServer) mustEmbedUnimplementedEquipmentServer() {}
|
||||
func (UnimplementedEquipmentServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -854,6 +918,78 @@ func _Equipment_ApiVersion_Handler(srv interface{}, ctx context.Context, dec fun
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Equipment_ApiBindInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ApiBindInfoRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(EquipmentServer).ApiBindInfo(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Equipment_ApiBindInfo_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(EquipmentServer).ApiBindInfo(ctx, req.(*ApiBindInfoRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Equipment_ApiBindUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ApiBindUpdateRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(EquipmentServer).ApiBindUpdate(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Equipment_ApiBindUpdate_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(EquipmentServer).ApiBindUpdate(ctx, req.(*ApiBindUpdateRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Equipment_InternalBindAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(InternalBindAddRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(EquipmentServer).InternalBindAdd(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Equipment_InternalBindAdd_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(EquipmentServer).InternalBindAdd(ctx, req.(*InternalBindAddRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Equipment_InternalBindInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(InternalBindInfoRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(EquipmentServer).InternalBindInfo(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: Equipment_InternalBindInfo_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(EquipmentServer).InternalBindInfo(ctx, req.(*InternalBindInfoRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
// Equipment_ServiceDesc is the grpc.ServiceDesc for Equipment service.
|
||||
// It's only intended for direct use with grpc.RegisterService,
|
||||
// and not to be introspected or modified (even as a copy)
|
||||
@@ -953,6 +1089,22 @@ var Equipment_ServiceDesc = grpc.ServiceDesc{
|
||||
MethodName: "ApiVersion",
|
||||
Handler: _Equipment_ApiVersion_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ApiBindInfo",
|
||||
Handler: _Equipment_ApiBindInfo_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ApiBindUpdate",
|
||||
Handler: _Equipment_ApiBindUpdate_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "InternalBindAdd",
|
||||
Handler: _Equipment_InternalBindAdd_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "InternalBindInfo",
|
||||
Handler: _Equipment_InternalBindInfo_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "equipment/equipment.proto",
|
||||
|
||||
Reference in New Issue
Block a user