gateway
A golang library for discovering the address of a LAN gateway. (by jackpal)
netlink
Simple netlink library for go. (by vishvananda)
gateway | netlink | |
---|---|---|
1 | 4 | |
224 | 2,668 | |
- | - | |
7.5 | 7.6 | |
about 2 months ago | 7 days ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gateway
Posts with mentions or reviews of gateway.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-06.
-
networking - getting route and interface for a destination
https://github.com/jackpal/gateway - default gateway only
netlink
Posts with mentions or reviews of netlink.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-30.
-
New to go, suggestions for non-web projects.
There is https://github.com/vishvananda/netlink which deals with low level networking stuff, maybe helping out there would be nice. I use it for https://github.com/qdm12/gluetun (also in Go)
-
networking - getting route and interface for a destination
Check out https://github.com/vishvananda/netlink/tree/master/nl - I think it only supports linux for routes (not sure about bsd and mac).
-
Trying to use libvirt-go API and running into the issue /usr/lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_4.10.0' not found
"github.com/vishvananda/netlink"
-
Can't call functions from files with specific suffix ( e.g. Foo_linux.go)
Golang Newbie here! I am trying to call functions from an external library ( ipset_linux.go in https://github.com/vishvananda/netlink). Whenever I run go build main.go, it keeps complaining both netlink.IpsetAdd and netlink.IPSETENTRY as undefined! However, if I didn't call functions from files with the _linux suffix, it builds without any complain. I think it has something to do with the build constraint but I dont know how to fix it. Any help is greatly appreciated!
What are some alternatives?
When comparing gateway and netlink you can also consider the following projects:
gopacket - Provides packet processing capabilities for Go
libvirt-go - Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-go
bubbletea - A powerful little TUI framework 🏗
gluetun - VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
docker - Docker - the open-source application container engine
go-libvirt - Package libvirt provides a pure Go interface for interacting with Libvirt. Apache 2.0 Licensed.
micro-editor - A modern and intuitive terminal-based text editor