diff options
| author | Jeff Carr <[email protected]> | 2025-10-14 00:15:41 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-14 00:15:41 -0500 |
| commit | fc17dc394aedbc5fd636676202bad40c1f98c1de (patch) | |
| tree | 197ff50da15f186c38d50a71fede7b0c160ee57f /config.proto | |
| parent | 3b4821a3af62376d675699493e01cd07891ad69c (diff) | |
implement application specific Config files (and Verbose())
Diffstat (limited to 'config.proto')
| -rw-r--r-- | config.proto | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/config.proto b/config.proto index b86de8f..2716967 100644 --- a/config.proto +++ b/config.proto @@ -7,14 +7,16 @@ package config; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp message Config { // - string name = 1; // a map for what thing? - map<string, string> vals = 2; // a simple map + string key = 1; // config key name `autogenpb:unique` `autogenpb:sort` + string value = 2; // config value name google.protobuf.Timestamp ctime = 3; // create time of the patch + map<string, string> vals = 4; // a simple map } message Configs { // `autogenpb:marshal` `autogenpb:nomutex` string uuid = 1; // `autogenpb:uuid:3135d0f9-82a9-40b6-8aa1-b683ebe7bedd` - string version = 2; // `autogenpb:version:v0.0.1 go.wit.com/lib/config` + string version = 2; // `autogenpb:version:v0.0.2 go.wit.com/lib/config` repeated Config configs = 3; string filename = 4; // can store where the filename is so that saves can be automated + map<string, string> flags = 5; // a simple map } |
