Skip to content

Commit

Permalink
Improve dmsgweb (#266)
Browse files Browse the repository at this point in the history
* do not serve redundantly on local port with dmsg web srv

* split up dmsgweb source code into multiple files ; make dmsg web srv able to proxy multiple ports over dmsg

* log fatal error if same number of dmsg ports and local ports are not specified

* make format ; update Makefile

* handle raw tcp connections

* make dmsgweb work with multiple ports ; change everything to arrays or slices
  • Loading branch information
0pcom authored Jun 22, 2024
1 parent 5d7616e commit 39e439d
Show file tree
Hide file tree
Showing 7 changed files with 855 additions and 535 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ install-linters-windows: ## Install linters on windows
${OPTS} go install github.com/incu6us/goimports-reviser@latest

format: ## Formats the code. Must have goimports and goimports-reviser installed (use make install-linters).
${OPTS} goimports -local ${DMSG_REPO} -w .
${OPTS} goimports -w -local ${DMSG_REPO} ./pkg ./cmd ./internal ./examples
find . -type f -name '*.go' -not -path "./.git/*" -not -path "./vendor/*" -exec goimports-reviser -project-name ${DMSG_REPO} {} \;


Expand Down
Loading

0 comments on commit 39e439d

Please sign in to comment.