mirror of
https://github.com/VaalaCat/frp-panel.git
synced 2025-12-24 11:51:06 +08:00
20 lines
297 B
Go
20 lines
297 B
Go
package main
|
|
|
|
import (
|
|
"github.com/VaalaCat/frp-panel/conf"
|
|
"github.com/VaalaCat/frp-panel/rpc"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func main() {
|
|
cobra.MousetrapHelpText = ""
|
|
|
|
initLogger()
|
|
initCommand()
|
|
conf.InitConfig()
|
|
rpc.InitRPCClients()
|
|
|
|
setMasterCommandIfNonePresent()
|
|
rootCmd.Execute()
|
|
}
|