tenus is a Golang package which allows you to configure and manage Linux network devices programmatically. It communicates with Linux Kernel via netlink to facilitate creation and configuration of network devices on the Linux host. The package also allows for more advanced network setups with Linux containers including Docker.
This article is not only a good description of what tenus is, but a detailed explanation of how to deal with netlinks in Linux. See also this article for a nice introduction to the netlink protocol. You can find the source code here.












