Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7b102c94fb | |||
| 5fb815a3c1 | |||
| d9bf8d5616 | |||
| e45b79c2a8 | |||
| c3177eb4e4 | |||
| 6141c2b556 | |||
| 8f589901f2 | |||
| 10a9ae2eac | |||
| 53efeab1b3 | |||
| cc0f01b6ae | |||
| 00a0bf661c | |||
| 6a27007b53 | |||
| 2944ca0947 | |||
| 2cfc7408a4 | |||
| 4c8fe3c8d6 |
+13
-6
@@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'dev-*'
|
- 'dev-*'
|
||||||
|
- 'v*-dev*'
|
||||||
- 'v*-beta*'
|
- 'v*-beta*'
|
||||||
- 'v*-test*'
|
- 'v*-test*'
|
||||||
- 'v[0-9]*.[0-9]*.[0-9]'
|
- 'v[0-9]*.[0-9]*.[0-9]'
|
||||||
@@ -14,12 +15,14 @@ jobs:
|
|||||||
if: contains(gitea.ref_name, 'test')
|
if: contains(gitea.ref_name, 'test')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Configure git auth for submodules
|
|
||||||
run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/"
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
token: ${{ secrets.BUILD_TOKEN }}
|
||||||
|
persist-credentials: true
|
||||||
|
- name: Configure git auth for submodules
|
||||||
|
run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/"
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.26'
|
go-version: '1.26'
|
||||||
@@ -36,12 +39,14 @@ jobs:
|
|||||||
if: contains(gitea.ref_name, 'test')
|
if: contains(gitea.ref_name, 'test')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Configure git auth for submodules
|
|
||||||
run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/"
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
token: ${{ secrets.BUILD_TOKEN }}
|
||||||
|
persist-credentials: true
|
||||||
|
- name: Configure git auth for submodules
|
||||||
|
run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/"
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.26'
|
go-version: '1.26'
|
||||||
@@ -53,12 +58,14 @@ jobs:
|
|||||||
if: contains(gitea.ref_name, 'test')
|
if: contains(gitea.ref_name, 'test')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Configure git auth for submodules
|
|
||||||
run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/"
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
token: ${{ secrets.BUILD_TOKEN }}
|
||||||
|
persist-credentials: true
|
||||||
|
- name: Configure git auth for submodules
|
||||||
|
run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/"
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '24'
|
node-version: '24'
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ NexusGuard SD-WAN Suite — Enterprise Zero-Trust SD-WAN with WireGuard tunnelin
|
|||||||
├── apps/
|
├── apps/
|
||||||
│ ├── server-core/ # Go/Gin API backend (submodule)
|
│ ├── server-core/ # Go/Gin API backend (submodule)
|
||||||
│ ├── dashboard-ui/ # Vue 3 + Vite frontend (submodule)
|
│ ├── dashboard-ui/ # Vue 3 + Vite frontend (submodule)
|
||||||
│ └── device-agent/ # Go stealth daemon (submodule)
|
│ └── device-agent/ # Go stealth daemon + system tray (submodule)
|
||||||
├── docker-compose.yml # Production orchestration
|
├── docker-compose.yml # Production orchestration
|
||||||
├── docker-compose.dev.yml # Dev (air hot-reload)
|
├── docker-compose.dev.yml # Dev (air hot-reload)
|
||||||
├── Makefile # up/down/dev/migrate/reset-db
|
├── Makefile # up/down/dev/migrate/reset-db
|
||||||
@@ -50,7 +50,10 @@ NexusGuard SD-WAN Suite — Enterprise Zero-Trust SD-WAN with WireGuard tunnelin
|
|||||||
| Symbol | Type | Location | Role |
|
| Symbol | Type | Location | Role |
|
||||||
|--------|------|----------|------|
|
|--------|------|----------|------|
|
||||||
| `main()` (server-core) | func | `apps/server-core/main.go` | Entry: CLI flags + Gin init |
|
| `main()` (server-core) | func | `apps/server-core/main.go` | Entry: CLI flags + Gin init |
|
||||||
| `main()` (device-agent) | func | `apps/device-agent/main.go` | Entry: agent daemon lifecycle |
|
| `main()` (device-agent) | func | `apps/device-agent/main.go` | Entry: systray + agent daemon lifecycle |
|
||||||
|
| `onReady()` / `onExit()` | func | `apps/device-agent/main.go` | System tray setup and cleanup |
|
||||||
|
| `startAgent()` / `stopAgent()` | func | `apps/device-agent/main.go` | Agent connect/disconnect lifecycle |
|
||||||
|
| `generateIcon()` | func | `apps/device-agent/icon.go` | 16x16 shield icon for tray |
|
||||||
| `config.Load()` | func | `apps/server-core/internal/config/` | Env-based config loader |
|
| `config.Load()` | func | `apps/server-core/internal/config/` | Env-based config loader |
|
||||||
| `config.LoadConfFile()` | func | `apps/server-core/internal/config/config_loader.go` | Config file parser (.env / nexusguard.conf) |
|
| `config.LoadConfFile()` | func | `apps/server-core/internal/config/config_loader.go` | Config file parser (.env / nexusguard.conf) |
|
||||||
| `auth.Init()` | func | `apps/server-core/internal/auth/` | JWT sign/verify init |
|
| `auth.Init()` | func | `apps/server-core/internal/auth/` | JWT sign/verify init |
|
||||||
|
|||||||
+1
-1
Submodule apps/dashboard-ui updated: 2dcab84274...7e59de929f
+1
-1
Submodule apps/device-agent updated: d6df20e947...c6241674ce
+1
-1
Submodule apps/server-core updated: 528a540713...b91fcd4c43
Reference in New Issue
Block a user