EasyP

Service Suffix

Categories:

  • MINIMAL
  • BASIC
  • DEFAULT

This rule checks that all services are suffixed with Service or your custom suffix.

Examples

Bad

syntax = "proto3";

service Foo {
    rpc Bar(BarRequest) returns (BarResponse);
}

Good

syntax = "proto3";

service FooService {
    rpc Bar(BarRequest) returns (BarResponse); 
}

On this page