go-netlink

module
v0.0.0-...-0e89859 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2015 License: GPL-3.0

README

Build Status GoDoc

This is a suite of Go packages to interface with the Linux netlink subsystem.

go-netlink was created to talk to a Maxim iButton temperature sensor via netlink. The provided suite so far does not do much more than to do exactly that. Netlink / Connector / One-Wire have been separated into hierarchical layers to reflect the kernel's architecture. Feel free to extend this to more Netlink / Connector or One-Wire endpoints.

The project's license is GPL3+

ibutton tool installation

Go package management can install ibutton directly from github:

go install github.com/lambdasoup/go-netlink/ibutton/ibutton

ibutton tool usage

start a new mission

ibutton -command start

stop the currently running mission

ibutton -command stop

print out the sample log

ibutton -command read

show the button status

ibutton -command status

clear the button mission memory

ibutton -command clear

Directories

Path Synopsis
Package connector provides access to the Connector subsystem via Netlink
Package connector provides access to the Connector subsystem via Netlink
Package main provides a client for Maxim iButton devices
Package main provides a client for Maxim iButton devices
Package log is a simple wrapper around the standard log package which enables logging to be [de]activated
Package log is a simple wrapper around the standard log package which enables logging to be [de]activated
Package netlink provides access to the Linux kernel's Netlink interface
Package netlink provides access to the Linux kernel's Netlink interface
Package w1 provides access to One-Wire devices over Netlink / Connector
Package w1 provides access to One-Wire devices over Netlink / Connector

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL