snowflake/proto/snowflake.proto
2021-07-08 22:47:24 -08:00

19 lines
261 B
Protocol Buffer

syntax = "proto3";
option go_package = "github.com/dustinpianalto/snowflake";
package snowflake;
message Empty {
}
message SnowflakeReply {
string id_str = 1;
uint64 id = 2;
}
service Snowflake {
rpc GetSnowflake (Empty) returns (SnowflakeReply);
}