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.
 
 
 

57 lines
873 B

syntax = "proto3";
package kratos.api;
option go_package = "wallet-system/internal/conf;conf";
message Bootstrap {
Server server = 1;
Data data = 2;
Aws aws = 3;
}
message Server {
message HTTP {
string network = 1;
string addr = 2;
}
message GRPC {
string network = 1;
string addr = 2;
}
HTTP http = 1;
GRPC grpc = 2;
}
message Data {
message Database {
string driver = 1;
string source = 2;
}
message Redis {
string network = 1;
string addr = 2;
}
message Level{
string driver =1;
}
Database database = 1;
Redis redis = 2;
Level level=3;
}
message Aws{
message Link{
string telnet =1;
string point= 2;
}
message Set{
string region =1;
string id = 2;
string secret =3;
string key =4;
string token =5;
string bucket=6;
}
Link link = 1;
Set set = 2;
}