diff --git a/cmd/captured/captured.go b/cmd/captured/captured.go index ab8c488..4f3032a 100644 --- a/cmd/captured/captured.go +++ b/cmd/captured/captured.go @@ -1,3 +1,5 @@ +// Binary captured streams network packets to wireshark via SSH, replaying +// buffered packets upon connection for retroactive debugging. package main import ( diff --git a/cmd/randomd/randomd.go b/cmd/randomd/randomd.go index ac5dd67..8b4a385 100644 --- a/cmd/randomd/randomd.go +++ b/cmd/randomd/randomd.go @@ -1,3 +1,4 @@ +// Binary random carries entropy across restarts. package main import ( diff --git a/cmd/router7/main.go b/cmd/router7/main.go deleted file mode 100644 index c538f67..0000000 --- a/cmd/router7/main.go +++ /dev/null @@ -1,17 +0,0 @@ -package main - -import ( - "flag" - "log" -) - -func logic() error { - return nil -} - -func main() { - flag.Parse() - if err := logic(); err != nil { - log.Fatal(err) - } -} diff --git a/internal/dns/dns.go b/internal/dns/dns.go index 621f709..e19db7a 100644 --- a/internal/dns/dns.go +++ b/internal/dns/dns.go @@ -1,3 +1,4 @@ +// Package dns implements a DNS forwarder. package dns import ( diff --git a/internal/netconfig/netconfig.go b/internal/netconfig/netconfig.go index f4826f2..02b1fa0 100644 --- a/internal/netconfig/netconfig.go +++ b/internal/netconfig/netconfig.go @@ -1,3 +1,4 @@ +// Package netconfig implements network configuration (interfaces, addresses, firewall rules, …). package netconfig import ( diff --git a/internal/notify/notify.go b/internal/notify/notify.go index ae6c537..1673b49 100644 --- a/internal/notify/notify.go +++ b/internal/notify/notify.go @@ -1,3 +1,4 @@ +// Package notify implements sending signals (such as SIGUSR1) to processes. package notify import (