.idea | ||
cmd/wg-quicker | ||
vendor | ||
.drone.yml | ||
.gitignore | ||
.goreleaser.yml | ||
config_test.go | ||
config.go | ||
gen.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
README.md | ||
wg.go |
wg-quicker
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)).