mirror of
https://github.com/nxtrace/NTrace-core.git
synced 2026-12-01 00:48:55 +00:00
- Added three build flavors: `nexttrace` (full), `nexttrace-tiny`, and `ntr` (MTR-focused). - Updated README.md and README_zh_CN.md to reflect new build variants and their features. - Implemented manual build instructions for each flavor. - Enhanced command-line argument parsing to accommodate flavor-specific options. - Disabled WebUI and Globalping features in `nexttrace-tiny` and `ntr` flavors. - Created separate files for handling Globalping and WebUI functionality based on build flavor. - Added error handling for unavailable features in non-full builds.
12 lines
181 B
Go
12 lines
181 B
Go
//go:build !flavor_tiny && !flavor_ntr
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"github.com/nxtrace/NTrace-core/server"
|
|
)
|
|
|
|
func runDeploy(listenAddr string) error {
|
|
return server.Run(listenAddr)
|
|
}
|