Initial commit (code only without large binaries)
This commit is contained in:
12
EdgeCommon/pkg/rpc/protos/models/model_api_token.proto
Normal file
12
EdgeCommon/pkg/rpc/protos/models/model_api_token.proto
Normal file
@@ -0,0 +1,12 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
// API令牌
|
||||
message APIToken {
|
||||
int64 id = 1;
|
||||
string nodeId = 2;
|
||||
string secret = 3;
|
||||
string role = 4;
|
||||
}
|
||||
Reference in New Issue
Block a user