(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
| 452 | } |
| 453 | |
| 454 | func _Plugin_Account_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 455 | in := new(AccountEvent) |
| 456 | if err := dec(in); err != nil { |
| 457 | return nil, err |
| 458 | } |
| 459 | if interceptor == nil { |
| 460 | return srv.(PluginServer).Account(ctx, in) |
| 461 | } |
| 462 | info := &grpc.UnaryServerInfo{ |
| 463 | Server: srv, |
| 464 | FullMethod: "/pbx.Plugin/Account", |
| 465 | } |
| 466 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 467 | return srv.(PluginServer).Account(ctx, req.(*AccountEvent)) |
| 468 | } |
| 469 | return interceptor(ctx, in, info, handler) |
| 470 | } |
| 471 | |
| 472 | func _Plugin_Topic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 473 | in := new(TopicEvent) |
nothing calls this directly
no test coverage detected
searching dependent graphs…