{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/grpc-go/issues/114","labels_url":"https://api.github.com/repos/grpc/grpc-go/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc-go/issues/114/comments","events_url":"https://api.github.com/repos/grpc/grpc-go/issues/114/events","html_url":"https://github.com/grpc/grpc-go/issues/114","id":60828383,"number":114,"title":"Naming: generating a proto service should generate an interface ending in \"Service\" not \"Server\"","user":{"login":"acasajus","id":663855,"avatar_url":"https://avatars.githubusercontent.com/u/663855?v=3","gravatar_id":"","url":"https://api.github.com/users/acasajus","html_url":"https://github.com/acasajus","followers_url":"https://api.github.com/users/acasajus/followers","following_url":"https://api.github.com/users/acasajus/following{/other_user}","gists_url":"https://api.github.com/users/acasajus/gists{/gist_id}","starred_url":"https://api.github.com/users/acasajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acasajus/subscriptions","organizations_url":"https://api.github.com/users/acasajus/orgs","repos_url":"https://api.github.com/users/acasajus/repos","events_url":"https://api.github.com/users/acasajus/events{/privacy}","received_events_url":"https://api.github.com/users/acasajus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-12T14:36:48Z","updated_at":"2015-03-16T15:29:50Z","closed_at":null,"body":"When generating the the 'pb.proto' file after defining a service in the protofile. The interface for the service is named '<Name>Server' but it should be named '<Name>Service' to keep consistency A grpc server can have several services registered.\r\n\r\nInstead of having to call \r\n```go\r\npb.RegisterMyNameServer(*grpc.Server,MyNameServer) \r\n```\r\nit should be\r\n```go\r\npb.RegisterMyNameService(*grpc.Server,MyNameService) \r\n```\r\n\r\nThe rest of the 'pb.proto' file is consistent afaik."},"comment":{"url":"https://api.github.com/repos/grpc/grpc-go/issues/comments/81738558","html_url":"https://github.com/grpc/grpc-go/issues/114#issuecomment-81738558","issue_url":"https://api.github.com/repos/grpc/grpc-go/issues/114","id":81738558,"user":{"login":"acasajus","id":663855,"avatar_url":"https://avatars.githubusercontent.com/u/663855?v=3","gravatar_id":"","url":"https://api.github.com/users/acasajus","html_url":"https://github.com/acasajus","followers_url":"https://api.github.com/users/acasajus/followers","following_url":"https://api.github.com/users/acasajus/following{/other_user}","gists_url":"https://api.github.com/users/acasajus/gists{/gist_id}","starred_url":"https://api.github.com/users/acasajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acasajus/subscriptions","organizations_url":"https://api.github.com/users/acasajus/orgs","repos_url":"https://api.github.com/users/acasajus/repos","events_url":"https://api.github.com/users/acasajus/events{/privacy}","received_events_url":"https://api.github.com/users/acasajus/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T15:29:50Z","updated_at":"2015-03-16T15:29:50Z","body":"I'd prefer `Service` becase it describes a `Service`:\r\n\r\n`A Handler interface describes a Service and is implemented by the user.` \r\n\r\nBut I'm ok which `Handler` since it's different from `Server`"}}