-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move Establish and Start functions to wireguard agent package
- Loading branch information
1 parent
db0e75f
commit 156f2ec
Showing
5 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
// +build windows | ||
|
||
package cmd | ||
package agent | ||
|
||
import ( | ||
"fmt" | ||
|
||
"github.com/superfly/flyctl/api" | ||
"github.com/superfly/flyctl/pkg/agent" | ||
) | ||
|
||
func StartAgent(api *api.Client, cmd string) (*agent.Client, error) { | ||
func StartDaemon(api *api.Client, cmd string) (*Client, error) { | ||
return nil, fmt.Errorf("can't start agent on this platform (this is a bug, please report)") | ||
} |