mirror of
https://github.com/VaalaCat/frp-panel.git
synced 2025-09-26 19:31:18 +08:00
24 lines
427 B
Go
24 lines
427 B
Go
package main
|
|
|
|
import (
|
|
"embed"
|
|
|
|
"github.com/VaalaCat/frp-panel/cmd/frpp/shared"
|
|
"github.com/VaalaCat/frp-panel/utils/logger"
|
|
"github.com/fatedier/golib/crypto"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
//go:embed all:out
|
|
var fs embed.FS
|
|
|
|
func main() {
|
|
crypto.DefaultSalt = "frp"
|
|
logger.InitLogger()
|
|
cobra.MousetrapHelpText = ""
|
|
|
|
rootCmd := shared.BuildCommand(fs)
|
|
shared.SetMasterCommandIfNonePresent(rootCmd)
|
|
rootCmd.Execute()
|
|
}
|