Skip to content

Setting global request timeout #1607

Closed Answered by rustatian
PakToPack asked this question in Q&A
Jun 15, 2023 · 1 comments · 27 replies
Discussion options

You must be logged in to vote

No, you've seen the video-tutorial. You need to create an RPC interface on your plugin.go with methods you need.
Velox is used to build RR with your custom plugin. If you wanted to build it by yourself you may add your plugin to the list of the RR plugins and build the server like a regular Go app.
Then, you may use this:

$rpc->call("App.Hi", "Antony");

To call the methods from your plugin, where, App is the name of your plugin, Hi is the method you're calling and Antony is the argument you passed to your plugin. It's better to use protobuf as the argument you passing to the plugin. You may have a look at the roadrunner-php/jobs PHP part and roadrunner-server/jobs Go part.

Replies: 1 comment 27 replies

Comment options

You must be logged in to vote
27 replies
@rustatian
Comment options

@rustatian
Comment options

@PakToPack
Comment options

@rustatian
Comment options

Answer selected by PakToPack
@PakToPack
Comment options

@rustatian
Comment options

@PakToPack
Comment options

@rustatian
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
R-question Question
2 participants