|
|
|
@ -182,9 +182,9 @@ func RegisterGoSuvServer(s *grpc.Server, srv GoSuvServer) {
|
|
|
|
|
s.RegisterService(&_GoSuv_serviceDesc, srv)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _GoSuv_Shutdown_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) {
|
|
|
|
|
func _GoSuv_Shutdown_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
|
|
|
|
|
in := new(NopRequest)
|
|
|
|
|
if err := codec.Unmarshal(buf, in); err != nil {
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
out, err := srv.(GoSuvServer).Shutdown(ctx, in)
|
|
|
|
@ -194,9 +194,9 @@ func _GoSuv_Shutdown_Handler(srv interface{}, ctx context.Context, codec grpc.Co
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _GoSuv_Version_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) {
|
|
|
|
|
func _GoSuv_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
|
|
|
|
|
in := new(NopRequest)
|
|
|
|
|
if err := codec.Unmarshal(buf, in); err != nil {
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
out, err := srv.(GoSuvServer).Version(ctx, in)
|
|
|
|
@ -206,9 +206,9 @@ func _GoSuv_Version_Handler(srv interface{}, ctx context.Context, codec grpc.Cod
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _GoSuv_Status_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) {
|
|
|
|
|
func _GoSuv_Status_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
|
|
|
|
|
in := new(NopRequest)
|
|
|
|
|
if err := codec.Unmarshal(buf, in); err != nil {
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
out, err := srv.(GoSuvServer).Status(ctx, in)
|
|
|
|
@ -218,9 +218,9 @@ func _GoSuv_Status_Handler(srv interface{}, ctx context.Context, codec grpc.Code
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _GoSuv_Create_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) {
|
|
|
|
|
func _GoSuv_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
|
|
|
|
|
in := new(ProgramInfo)
|
|
|
|
|
if err := codec.Unmarshal(buf, in); err != nil {
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
out, err := srv.(GoSuvServer).Create(ctx, in)
|
|
|
|
@ -332,9 +332,9 @@ func RegisterProgramServer(s *grpc.Server, srv ProgramServer) {
|
|
|
|
|
s.RegisterService(&_Program_serviceDesc, srv)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Program_Start_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) {
|
|
|
|
|
func _Program_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
|
|
|
|
|
in := new(Request)
|
|
|
|
|
if err := codec.Unmarshal(buf, in); err != nil {
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
out, err := srv.(ProgramServer).Start(ctx, in)
|
|
|
|
@ -344,9 +344,9 @@ func _Program_Start_Handler(srv interface{}, ctx context.Context, codec grpc.Cod
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Program_Stop_Handler(srv interface{}, ctx context.Context, codec grpc.Codec, buf []byte) (interface{}, error) {
|
|
|
|
|
func _Program_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) {
|
|
|
|
|
in := new(Request)
|
|
|
|
|
if err := codec.Unmarshal(buf, in); err != nil {
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
out, err := srv.(ProgramServer).Stop(ctx, in)
|
|
|
|
|