single_chan_pkt_fwd

command module
v0.0.0-...-a87d3dd Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 14 Imported by: 0

README

Single Channel Packet Forwarder

Build

Install go from https://golang.org/.

go build

To start the forwarder:

./single_chan_pkt_fwd

Configuration

See global_conf.json.

Build the Docker Image

docker build --rm -f "Dockerfile" -t single_chan_pkt_fwd:latest "."

docker-compose.yml

version: "3"
services:
  single_chan_pkt_fwd:
    container_name: single_chan_pkt_fwd
    image: waziup/single_chan_pkt_fwd
    build:
      context: ./single_chan_pkt_fwd
      dockerfile: Dockerfile
    volumes:
      - ./conf/single_chan_pkt_fwd:/etc/single_chan_pkt_fwd
      - /var/run/dbus:/var/run/dbus
      - /sys/class/gpio:/sys/class/gpio
      - /dev:/dev
    privileged: true

Extract single_chan_pkt_fwd from Docker

docker build --rm -f "Dockerfile" -t single_chan_pkt_fwd:latest "."
id=$(docker create single_chan_pkt_fwd)
docker cp $id:/root/single_chan_pkt_fwd - > single_chan_pkt_fwd
docker rm -v $id

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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