Change SetInterface and GetInterface to standard Go functions, removing direct NAPI handling and async logic from wgctrl.go. Use napi.GoFuncOf for function registration in addon.go. Update napi-go dependency to v0.1.2 pre-release.
23 lines
777 B
Modula-2
23 lines
777 B
Modula-2
module sirherobrine23.com.br/Wireguard/Wireguard-tools.js
|
|
|
|
go 1.24.2
|
|
|
|
require (
|
|
golang.zx2c4.com/wireguard v0.0.0-20231211153847-12269c276173
|
|
golang.zx2c4.com/wireguard/wgctrl v0.0.0-20241231184526-a9ab2273dd10
|
|
sirherobrine23.com.br/Sirherobrine23/napi-go v0.1.2-0.20250428221559-379bd75a8e14
|
|
)
|
|
|
|
require (
|
|
github.com/google/go-cmp v0.6.0 // indirect
|
|
github.com/josharian/native v1.1.0 // indirect
|
|
github.com/mdlayher/genetlink v1.3.2 // indirect
|
|
github.com/mdlayher/netlink v1.7.2 // indirect
|
|
github.com/mdlayher/socket v0.5.1 // indirect
|
|
golang.org/x/crypto v0.31.0 // indirect
|
|
golang.org/x/net v0.33.0 // indirect
|
|
golang.org/x/sync v0.10.0 // indirect
|
|
golang.org/x/sys v0.28.0 // indirect
|
|
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2 // indirect
|
|
)
|