31 lines
254 B
Markdown
31 lines
254 B
Markdown
# wireguard
|
|
|
|
|
|
|
|
To get started
|
|
|
|
```v
|
|
|
|
|
|
import freeflowuniverse.herolib.clients. wireguard
|
|
|
|
mut client:= wireguard.get()!
|
|
|
|
client...
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
## example heroscript
|
|
|
|
```hero
|
|
!!wireguard.configure
|
|
secret: '...'
|
|
host: 'localhost'
|
|
port: 8888
|
|
```
|
|
|
|
|