2020-09-13 19:27:47 +08:00
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
option go_package = "./pb";
|
|
|
|
|
|
|
|
|
|
|
|
package pb;
|
|
|
|
|
|
|
2021-01-25 16:41:30 +08:00
|
|
|
|
import "models/model_network_address.proto";
|
2020-09-13 19:27:47 +08:00
|
|
|
|
|
2020-09-21 20:21:20 +08:00
|
|
|
|
message Origin {
|
2020-09-13 19:27:47 +08:00
|
|
|
|
int64 id = 1;
|
|
|
|
|
|
bool isOn = 2;
|
|
|
|
|
|
string name = 3;
|
2023-06-07 17:26:34 +08:00
|
|
|
|
NetworkAddress addr = 4; // 源站网络地址
|
|
|
|
|
|
bytes ossJSON = 9; // 源站网络地址为oss:开头时有此内容
|
2020-09-13 19:27:47 +08:00
|
|
|
|
string description = 5;
|
2021-09-20 11:54:21 +08:00
|
|
|
|
repeated string domains = 6;
|
2022-03-17 15:48:16 +08:00
|
|
|
|
string host = 7;
|
2022-06-29 21:55:37 +08:00
|
|
|
|
bool followPort = 8;
|
2023-06-23 11:42:51 +08:00
|
|
|
|
bool http2Enabled = 10; // 是否支持HTTP/2,只在HTTPS源站时生效
|
2020-09-13 19:27:47 +08:00
|
|
|
|
}
|