Skip to content

Instantly share code, notes, and snippets.

@shilomagen
Last active July 28, 2021 12:13
Show Gist options
  • Select an option

  • Save shilomagen/65379ca76e369801145f954b25460099 to your computer and use it in GitHub Desktop.

Select an option

Save shilomagen/65379ca76e369801145f954b25460099 to your computer and use it in GitHub Desktop.

Revisions

  1. shilomagen revised this gist Jul 28, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions New API
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@

    service NewService {
    rpc DoSomething (DoSomethingRequest) returns (DoSomethingResponse) {
    }
  2. shilomagen revised this gist Jul 28, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion New API
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    service TotalsCalculator {
    service NewService {
    rpc DoSomething (DoSomethingRequest) returns (DoSomethingResponse) {
    }
    }
  3. shilomagen created this gist Jul 28, 2021.
    12 changes: 12 additions & 0 deletions New API
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    service TotalsCalculator {
    rpc DoSomething (DoSomethingRequest) returns (DoSomethingResponse) {
    }
    }

    message DoSomethingRequest {
    string name = 1;
    int32 age = 2;
    }
    message DoSomethingResponse {
    string id = 1;
    }