增加API令牌相关API

This commit is contained in:
刘祥超
2021-07-20 17:15:51 +08:00
parent a241b9a9df
commit f83be52482
4 changed files with 523 additions and 0 deletions

View 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;
}