Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Latest commit

 

History

History
19 lines (14 loc) · 475 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 475 Bytes

Netif

This is a simple Golang package for reading, manipulating and writing the /etc/network/interface file in most Debian based distributions.

This package is heavily based on the Python library Debinterface github.com/dggreenbaum/debinterface.

Installation

go get github.com/hilt0n/netif

Basic usage

package main

import (
    "github.com/hilt0n/netif"
)