| 404 | } |
| 405 | |
| 406 | func _CertificateIssuer_IssueCert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 407 | in := new(CertificateRequest) |
| 408 | if err := dec(in); err != nil { |
| 409 | return nil, err |
| 410 | } |
| 411 | if interceptor == nil { |
| 412 | return srv.(CertificateIssuerServer).IssueCert(ctx, in) |
| 413 | } |
| 414 | info := &grpc.UnaryServerInfo{ |
| 415 | Server: srv, |
| 416 | FullMethod: "/api.CertificateIssuer/IssueCert", |
| 417 | } |
| 418 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 419 | return srv.(CertificateIssuerServer).IssueCert(ctx, req.(*CertificateRequest)) |
| 420 | } |
| 421 | return interceptor(ctx, in, info, handler) |
| 422 | } |
| 423 | |
| 424 | func _CertificateIssuer_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 425 | in := new(PingRequest) |