[dev] regen

This commit is contained in:
loveckiy.ivan
2025-11-09 12:11:15 +03:00
parent 61a27a8b62
commit 259b46f384
5 changed files with 67 additions and 37 deletions

View File

@@ -36,7 +36,7 @@ func NewCollectorClient(cc grpc.ClientConnInterface) CollectorClient {
func (c *collectorClient) Exec(ctx context.Context, in *ExecIn, opts ...grpc.CallOption) (*ExecOut, error) {
out := new(ExecOut)
err := c.cc.Invoke(ctx, "/simple_plugin.Collector/Exec", in, out, opts...)
err := c.cc.Invoke(ctx, "/plugin.Collector/Exec", in, out, opts...)
if err != nil {
return nil, err
}
@@ -45,7 +45,7 @@ func (c *collectorClient) Exec(ctx context.Context, in *ExecIn, opts ...grpc.Cal
func (c *collectorClient) Services(ctx context.Context, in *ServicesIn, opts ...grpc.CallOption) (*ServicesOut, error) {
out := new(ServicesOut)
err := c.cc.Invoke(ctx, "/simple_plugin.Collector/Services", in, out, opts...)
err := c.cc.Invoke(ctx, "/plugin.Collector/Services", in, out, opts...)
if err != nil {
return nil, err
}
@@ -94,7 +94,7 @@ func _Collector_Exec_Handler(srv interface{}, ctx context.Context, dec func(inte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/simple_plugin.Collector/Exec",
FullMethod: "/plugin.Collector/Exec",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CollectorServer).Exec(ctx, req.(*ExecIn))
@@ -112,7 +112,7 @@ func _Collector_Services_Handler(srv interface{}, ctx context.Context, dec func(
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/simple_plugin.Collector/Services",
FullMethod: "/plugin.Collector/Services",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CollectorServer).Services(ctx, req.(*ServicesIn))
@@ -124,7 +124,7 @@ func _Collector_Services_Handler(srv interface{}, ctx context.Context, dec func(
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Collector_ServiceDesc = grpc.ServiceDesc{
ServiceName: "simple_plugin.Collector",
ServiceName: "plugin.Collector",
HandlerType: (*CollectorServer)(nil),
Methods: []grpc.MethodDesc{
{