Size: 614 bytes.


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// cs/apps/trycopilot.ai/protos/config.proto.hh
#ifndef CS_APPS_TRYCOPILOT_AI_PROTOS_CONFIG_PROTO_HH
#define CS_APPS_TRYCOPILOT_AI_PROTOS_CONFIG_PROTO_HH

#include <string>

#include "cs/net/proto/proto.hh"

namespace cs::apps::trycopilotai::protos {

// TryCopilot.ai application configuration.
DECLARE_PROTO(Config) {
  // Host address to bind to.
  std::string host;
  // Port number to listen on.
  int port;
  // Application version.
  std::string version;
  // Git commit hash.
  std::string commit;
};

}  // namespace cs::apps::trycopilotai::protos

#endif  // CS_APPS_TRYCOPILOT_AI_PROTOS_CONFIG_PROTO_HH
v0 (commit) © 2025 @p13i.io | Load balancer proxied to: cs-code-viewer-2:8080 in 5ms.