mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-11-18 00:46:25 +00:00
22 lines
263 B
Go
22 lines
263 B
Go
|
package main
|
||
|
|
||
|
var HelloRequestFields = struct {
|
||
|
Name string
|
||
|
}{
|
||
|
Name: "name",
|
||
|
}
|
||
|
|
||
|
var HelloReplyFields = struct {
|
||
|
Message string
|
||
|
}{
|
||
|
Message: "message",
|
||
|
}
|
||
|
|
||
|
var HelloStreamRequestFields = struct {
|
||
|
Name string
|
||
|
Count string
|
||
|
}{
|
||
|
Name: "name",
|
||
|
Count: "count",
|
||
|
}
|