summaryrefslogtreecommitdiff
path: root/protoParse.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-08 03:37:27 -0500
committerJeff Carr <[email protected]>2025-09-08 03:37:27 -0500
commit1fe6c532674ad10cbd5021a619fa0a269fe33194 (patch)
treef2c98f2f3a1df32fc71d1b1594498d2a14571e0f /protoParse.go
parent7d67ae7528fdda142e51dda401e9f801563c947a (diff)
autogen some http code
Diffstat (limited to 'protoParse.go')
-rw-r--r--protoParse.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/protoParse.go b/protoParse.go
index 8994cee..37c1df2 100644
--- a/protoParse.go
+++ b/protoParse.go
@@ -192,7 +192,11 @@ func (pf *File) parseForMessage(line string) *MsgName {
}
if strings.Contains(line, "`autogenpb:marshal`") {
msg.DoMarshal = true
- // log.Info("Added Marshal=true:", msg.Name)
+ }
+ if strings.Contains(line, "`autogenpb:http") {
+ log.Info("got autogenpb:http")
+ pf.DoHTTP = true
+ msg.DoHTTP = true
}
if strings.Contains(line, "`autogenpb:gui") {
log.Info("got autogenpb:gui")