mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-14 13:10:25 +08:00
增加API令牌相关API
This commit is contained in:
12
pkg/rpc/protos/models/model_api_token.proto
Normal file
12
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