MCPcopy Create free account
hub / github.com/evenh/intercert / _CertificateIssuer_Ping_Handler

Function _CertificateIssuer_Ping_Handler

api/api.pb.go:424–440  ·  view source on GitHub ↗
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)

Source from the content-addressed store, hash-verified

422}
423
424func _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
442func _CertificateIssuer_OnCertificateRenewal_Handler(srv interface{}, stream grpc.ServerStream) error {
443 m := new(CertificateRenewalNotificationRequest)

Callers

nothing calls this directly

Calls 1

PingMethod · 0.65

Tested by

no test coverage detected