Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moved RPC to rpc package #1922

Closed
wants to merge 1 commit into from
Closed

moved RPC to rpc package #1922

wants to merge 1 commit into from

Conversation

dencoded
Copy link
Contributor

Added changes to move RPC stack into new rpc package which will be reused in context of TykTechnologies/tyk-pump#80

There is some callback business and new function setupRPC() to glue rpc package with globals in tyk.

@dencoded
Copy link
Contributor Author

dencoded commented Oct 4, 2018

cancelled by #1923

@dencoded dencoded closed this Oct 4, 2018
buger pushed a commit that referenced this pull request Oct 4, 2018
Another potentially better approach for TykTechnologies/tyk-pump#80
This approach allows to move some re-usable part of RPC without changing RPC server side.

if it works then it cancels #1922 and TykTechnologies/tyk-sink#51

The idea is to do `rpc.Connect(...)` where we supply connection info, a couple of call backs for emergency mode and map of rpc funcs definitions to add to RPC client dispatcher.

Then we can create `rpc.Purger` with all needed fields and run `PurgeLoop` with some ticker.
@furkansenharputlu furkansenharputlu deleted the rpc-package branch June 22, 2023 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant