{"id":51810,"library":"wireguard-wgctrl","title":"WireGuard Control","description":"A Go package for controlling WireGuard devices on multiple platforms.","status":"active","version":"0.0.0-20230429144221-925a1e7659e6","language":"go","source_language":null,"source_url":"https://github.com/WireGuard/wgctrl-go","tags":["wireguard","vpn","networking","control","wgctrl"],"install":[{"cmd":"go get golang.zx2c4.com/wireguard/wgctrl","lang":"bash","label":"Install golang.zx2c4.com/wireguard/wgctrl"}],"dependencies":[],"imports":[{"symbol":"wgctrl","correct":"golang.zx2c4.com/wireguard/wgctrl"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"golang.zx2c4.com/wireguard/wgctrl\"\n)\n\nfunc main() {\n\tclient, err := wgctrl.New()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer client.Close()\n\tdevices, err := client.Devices()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(devices)\n}","lang":"go","description":"List all WireGuard devices."},"warnings":[],"env_vars":null,"search_vec":"'control':2,7,16 'devic':9 'go':4 'multipl':11 'network':15 'packag':5 'platform':12 'vpn':14 'wgctrl':17 'wireguard':1,8,13","created_at":"2026-06-15T06:30:32.844377+00:00","updated_at":"2026-06-15T06:30:32.844377+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/WireGuard/wgctrl-go","github":"https://github.com/WireGuard/wgctrl-go","docs":"https://pkg.go.dev/golang.zx2c4.com/wireguard/wgctrl#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}