mirror of
https://github.com/VaalaCat/frp-panel.git
synced 2026-04-22 23:17:23 +08:00
19 lines
343 B
Go
19 lines
343 B
Go
package main
|
|
|
|
import (
|
|
"github.com/VaalaCat/frp-panel/conf"
|
|
"github.com/VaalaCat/frp-panel/rpc"
|
|
"github.com/VaalaCat/frp-panel/utils"
|
|
"github.com/fatedier/golib/crypto"
|
|
)
|
|
|
|
func main() {
|
|
initLogger()
|
|
initCommand()
|
|
conf.InitConfig()
|
|
rpc.InitRPCClients()
|
|
|
|
crypto.DefaultSalt = utils.MD5(conf.Get().App.GlobalSecret)
|
|
rootCmd.Execute()
|
|
}
|