soypat / netif

Interfaces for networking.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

netif

go.dev reference Go Report Card codecov Go stability-frozen sourcegraph License: MIT

Networking interfaces. For now I'm adding a TAP interface I can understand

Debugging with VSCode

To run with an ethernet interface you'll need to open VSCode as sudo with --no-sandbox option:

sudo code --user-data-dir ~/.config/Code --no-sandbox .

You may need to install the Go extension and Delve as sudo since you are opening VSCode as a different user.

Creating a launch.json maps directly to using VSCode normally. Here's an example:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch Package",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            "program": "${workspaceFolder}/examples/mqtt/",
        }
    ]
}

About

Interfaces for networking.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 97.1%Language:Shell 2.9%