| 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) |
| 426 | if err := dec(in); err != nil { |
| 427 | return nil, err |
| 428 | } |
| 429 | if interceptor == nil { |
| 430 | return srv.(CertificateIssuerServer).Ping(ctx, in) |
| 431 | } |
| 432 | info := &grpc.UnaryServerInfo{ |
| 433 | Server: srv, |
| 434 | FullMethod: "/api.CertificateIssuer/Ping", |
| 435 | } |
| 436 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 437 | return srv.(CertificateIssuerServer).Ping(ctx, req.(*PingRequest)) |
| 438 | } |
| 439 | return interceptor(ctx, in, info, handler) |
| 440 | } |
| 441 | |
| 442 | func _CertificateIssuer_OnCertificateRenewal_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 443 | m := new(CertificateRenewalNotificationRequest) |