Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
// +bili:type=model
syntax = "proto3";
package passport.service.identify;
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
option go_package = "model";
// IdentifyInfo identify info
message IdentifyInfo {
// user mid
int64 mid = 1 [(gogoproto.jsontag) = "mid"];
// cookie csrf
// when token reqest this field is empty
string csrf = 2 [(gogoproto.jsontag) = "csrfToken"];
// expire time(unix timestamp)
int32 expires = 3 [(gogoproto.jsontag) = "expires"];
}