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

Create a dummy API Service Server #138

Open
lizhefeng opened this issue Dec 12, 2019 · 1 comment
Open

Create a dummy API Service Server #138

lizhefeng opened this issue Dec 12, 2019 · 1 comment

Comments

@lizhefeng
Copy link
Contributor

We want a dummy API service server that implements all the functions defined in the rpc proto: https://github.com/iotexproject/iotex-election/blob/master/pb/api/api.proto. Every function should return an empty response instead.
Also add a dummyServer flag in the config: https://github.com/iotexproject/iotex-election/blob/master/server/server.go#L42. So when creating a new server, we can decide between the real server and the dummy server.

@willstudy
Copy link
Contributor

WIP

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

No branches or pull requests

2 participants