mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-07 09:41:37 +08:00
embedded file to windows, cleaned up logs
This commit is contained in:
@@ -23,10 +23,16 @@ func RunCmd(command string, printerr bool) (string, error) {
|
||||
return string(out), err
|
||||
}
|
||||
|
||||
// RunCmdFormatted - does nothing for linux
|
||||
func RunCmdFormatted(command string, printerr bool) (string, error) {
|
||||
return "", nil
|
||||
}
|
||||
|
||||
// GetEmbedded - if files required for linux, put here
|
||||
func GetEmbedded() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// CreateUserSpaceConf - creates a user space WireGuard conf
|
||||
func CreateUserSpaceConf(address string, privatekey string, listenPort string, mtu int32, perskeepalive int32, peers []wgtypes.PeerConfig) (string, error) {
|
||||
peersString, err := parsePeers(perskeepalive, peers)
|
||||
|
Reference in New Issue
Block a user