David Anderson
8a339a6819
stunner: correct minor lint errors.
...
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
9ac1dda0d9
portlist: add a lint ignore for unused function.
...
The function is indeed unused on linux, but we want it around
so that unit tests exercise the netstat logic even on linux,
even if it's only used on !linux.
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
520e96afd1
portlist: simplify slice expression.
...
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
be6bcd59cd
logtail: don't pass in nil contexts.
...
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
250dfc9016
logtail: remove unused struct fields.
...
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
80ecb8342f
logtail/filch: use io's seek constants.
...
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
c3f9f74247
ipn: fix lint complaints in tests.
...
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
1cd278aa0b
control/policy: make error strings staticcheck-compliant.
...
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
542f46ed4d
controlclient: remove unused function.
...
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
2227ede8af
controlclient: fix staticcheck lint.
...
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
fe9af19da9
controlclient: remove unnecessary comparison to bool.
...
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
14af0c4eb3
taillogin: check err in controlclient.New.
...
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
452b81d56b
Add a code of conduct.
...
It's verbatim from https://www.contributor-covenant.org/ , except for
adding in the contact info for reports.
Fixes #20 .
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
a07906d1d8
wgengine: make SetRoutesFunc less appealing to use.
...
It exists as a way to glue the mac-specific xcode logic with the OSS
logic, and shouldn't be used by anything but the xcode glue.
6 years ago
Jimmy Zelinskie
41d94cdcaa
init dockerfile
...
Signed-off-by: Jimmy Zelinskie <jimmy.zelinskie+git@gmail.com>
6 years ago
wardn
aef438dfa7
.gitignore: ignore compiled binaries in the cmd folders
...
Signed-off-by: wardn <wardn@users.noreply.github.com>
6 years ago
David Anderson
3dd4471036
Add a build+test github action, as a quick and cheerful CI.
...
Signed-Off-By: David Anderson <dave@natulte.net>
6 years ago
David Crawshaw
87334fb332
wgengine, controlclient: fewer pointers in wgcfg key types
...
Signed-off-by: David Crawshaw <david@zentus.com>
6 years ago
Brad Fitzpatrick
fef2548981
README: https, links, mention Go version, DCO
6 years ago
Brad Fitzpatrick
516a15ee58
cmd: add import comments
...
See https://golang.org/cmd/go/#hdr-Import_path_checking
6 years ago
David Crawshaw
d539a950ca
README.md: add content
6 years ago
Brad Fitzpatrick
1f1dc3ad14
version: fix path for git describe of version for redo
6 years ago
Brad Fitzpatrick
a1fbf25f77
version: add stub; use rsc.io/goversion/version later
6 years ago
Earl Lee
a8d8b8719a
Move Linux client & common packages into a public repo.
6 years ago
Earl Lee
c955043dfe
Initial commit
6 years ago