frpc: support multiple confs (#2873)

This commit is contained in:
fatedier
2022-03-28 12:12:35 +08:00
committed by GitHub
parent 305e40fa8a
commit 18a2af4703
5 changed files with 66 additions and 32 deletions

View File

@@ -15,18 +15,10 @@
package main
import (
"math/rand"
"time"
_ "github.com/fatedier/frp/assets/frpc"
"github.com/fatedier/frp/cmd/frpc/sub"
"github.com/fatedier/golib/crypto"
)
func main() {
crypto.DefaultSalt = "frp"
rand.Seed(time.Now().UnixNano())
sub.Execute()
}