wheat-cache/protobuf/base.proto

10 lines
190 B
Protocol Buffer
Raw Permalink Normal View History

2021-09-18 15:27:45 +08:00
syntax = "proto3";
option go_package = "pkg/proto";
import "google/protobuf/timestamp.proto";
message BaseKey {
2021-09-20 16:36:47 +08:00
string key = 1;
int64 ttl = 2;
2021-09-21 19:28:14 +08:00
google.protobuf.Timestamp expire = 3;
2021-09-18 15:27:45 +08:00
}