You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
677 B
20 lines
677 B
syntax = "proto3"; |
|
|
|
package model; |
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; |
|
|
|
// result of http access info. |
|
message accessInfo { |
|
int64 Mid = 1 [(gogoproto.jsontag) = "mid"]; |
|
int64 AppID = 2 [(gogoproto.jsontag) = "appid"]; |
|
string Token = 3 [(gogoproto.jsontag) = "access_key"]; |
|
int64 CreateAt = 4 [(gogoproto.jsontag) = "create_at"]; |
|
string UserID = 5 [(gogoproto.jsontag) = "userid"]; |
|
string Name = 6 [(gogoproto.jsontag) = "uname"]; |
|
int64 Expires = 7 [(gogoproto.jsontag) = "expires"]; |
|
string Permission = 8 [(gogoproto.jsontag) = "permission"]; |
|
} |
|
|
|
message renewInfo { |
|
int64 Expires = 1 [(gogoproto.jsontag) = "expires"]; |
|
}
|
|
|