Go to file
Marvin Steadfast 167c003387
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build was killed
getting drone to work
2021-01-21 13:04:58 +01:00
.idea Added route protocol filtering 2019-03-29 10:48:33 +01:00
cmd/wg-quicker getting drone to work 2021-01-21 13:04:58 +01:00
vendor adds byteexec to run the embedded wireguard-go 2021-01-20 15:03:21 +01:00
.drone.yml getting drone to work 2021-01-21 13:04:58 +01:00
.gitignore getting drone to work 2021-01-21 13:04:58 +01:00
.goreleaser.yml getting drone to work 2021-01-21 13:04:58 +01:00
config_test.go happy linting 2021-01-21 10:25:04 +01:00
config.go happy linting 2021-01-21 10:25:04 +01:00
gen.go adds byteexec to run the embedded wireguard-go 2021-01-20 15:03:21 +01:00
go.mod adds byteexec to run the embedded wireguard-go 2021-01-20 15:03:21 +01:00
go.sum adds byteexec to run the embedded wireguard-go 2021-01-20 15:03:21 +01:00
LICENSE Initial commit 2019-03-26 13:28:22 +01:00
Makefile happy linting 2021-01-21 10:25:04 +01:00
README.md getting drone to work 2021-01-21 13:04:58 +01:00
wg.go uses old error checking 2021-01-21 11:54:26 +01:00

wg-quicker

Build Status GoDoc Go Report Card

wg-quick like library in go for embedding

Roadmap

  • full wg-quick feature parity
    • PreUp
    • PostUp
    • PreDown
    • PostDown
    • DNS
    • MTU
    • Save --> Use MarshallText interface to save config
  • Sync
  • Up
  • Down
  • MarshallText
  • UnmarshallText
  • Minimal test
  • Integration tests ((TODO; have some virtual machines/kvm and wreck havoc :) ))

Caveats

  • Endpoints DNS MarshallText is unsupported
  • Pre/Post Up/Down doesn't support escaped %i, that is all %i are expanded to interface name.
  • SaveConfig in config is only a placeholder (( since there's no reading/writing from files )). Use Unmarshall/Marshall Text to save/load config (( you're responsible for IO)).