Goby v2
liaison_config.proto
1 
2 import "goby/common/protobuf/option_extensions.proto";
3 import "goby/common/protobuf/app_base_config.proto";
4 
5 package goby.common.protobuf;
6 
7 message LiaisonConfig
8 {
9  optional AppBaseConfig base = 1
10  [(goby.field).description = "params shared with all goby applications"];
11 
12  optional string http_address = 2 [
13  default = "localhost",
14  (goby.field).description =
15  "address to bind on; same as Wt --http-address"
16  ];
17  optional uint32 http_port = 3 [
18  default = 54321,
19  (goby.field).description =
20  "address to bind on; same as Wt --http-port"
21  ];
22 
23  optional string docroot = 4 [
24  default = "/usr/share/goby/liaison",
25  (goby.field).description =
26  "path to static objects (e.g. images) root; same as Wt --docroot"
27  ];
28 
29  optional string additional_wt_http_params = 5
30  [(goby.field).example = "--accesslog=/tmp/access.log"];
31  optional float update_freq = 6 [default = 5];
32 
33  repeated string load_shared_library = 7
34  [(goby.field).description =
35  "Path to a shared library containing compiled Protobuf files. "
36  "Preferred over load_proto_file."];
37  repeated string load_proto_file = 8
38  [(goby.field).description =
39  "Path to a .proto file. Use load_shared_library when possible."];
40  repeated string load_proto_dir = 9 [(goby.field).description =
41  "Directory containing .proto files "
42  "to load. Use load_shared_library "
43  "when possible."];
44 
45  optional bool start_paused = 10 [default = false];
46 
47  optional string upper_right_logo = 11
48  [(goby.field).description =
49  "Image for upper right, relative to docroot"];
50  optional string upper_right_logo_link = 12
51  [(goby.field).description = "Hyperlink for upper right image"];
52 
53  // MOOS - 1000 to 1099
54  // DRC - 1100
55  extensions 1000 to max;
56 }