mirror of
https://github.com/netbirdio/netbird.git
synced 2026-03-31 06:34:19 -04:00
21 lines
283 B
Go
21 lines
283 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
"net/http"
|
|
// nolint:gosec
|
|
_ "net/http/pprof"
|
|
"os"
|
|
|
|
"github.com/netbirdio/netbird/management/cmd"
|
|
)
|
|
|
|
func main() {
|
|
go func() {
|
|
log.Println(http.ListenAndServe("localhost:6060", nil))
|
|
}()
|
|
if err := cmd.Execute(); err != nil {
|
|
os.Exit(1)
|
|
}
|
|
}
|