diff --git a/grpcdemo.proto b/grpcdemo.proto index c9bbefb..056f56c 100644 --- a/grpcdemo.proto +++ b/grpcdemo.proto @@ -3,8 +3,15 @@ // The date service -service GetDate { +service HostDateTime { - // Nothing for now + rpc GetDateTime () returns (CurrentDateTime) {} -} \ No newline at end of file +} + +// The response message containing the current date and time + +message CurrentDateTime { + string message = 1; + +}