Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- syntax = "proto3";
- option java_package = "com.ivanfoong.grpc.examples";
- package auth;
- service Authentication {
- rpc Login(LoginRequest) returns (LoginResponse) {}
- }
- message LoginRequest {
- string username = 1;
- string password = 2;
- }
- message LoginResponse {
- string error = 1;
- string session = 2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement