20 lines
238 B
Go
20 lines
238 B
Go
|
package wgfunc
|
||
|
|
||
|
type ClientConfig struct {
|
||
|
ServerURL string
|
||
|
ServerPublicKey string
|
||
|
PrivateKey string
|
||
|
PresharedKey string
|
||
|
}
|
||
|
|
||
|
type Client struct {
|
||
|
|
||
|
}
|
||
|
|
||
|
func NewClient(config ClientConfig) Client {
|
||
|
|
||
|
}
|
||
|
|
||
|
func (c *Client)Connect() error {
|
||
|
|
||
|
}
|