shirou
5610fbc5d5
fix(host,linux): Check if path exists and is nonempty before reading host files
2022-07-15 12:25:44 +00:00
mmorel-35
1e6b445a8a
gofumpt
2021-12-22 21:54:41 +00:00
shirou
0969c9436b
delete v2 directory, move v3 to top #1078
2021-11-30 23:47:59 +00:00
Ville Skyttä
633e77013f
Use short if
2021-08-18 17:09:11 +03:00
Sergey Vinogradov
8ff2ab3187
Add "vet" target to the Makefile
...
Making the "vet" target will run "go vet ./..." for each supported
GOOS.
Also, some of the warnings produced by go 1.15 vet were mitigated.
2020-10-10 16:50:49 +03:00
Curtis Mattoon
648bf4eebc
Adds ConntrackStats to get conntrack summary stats
2019-05-11 12:45:05 -04:00
shirou
079e1cb22f
[internal]Windows: skip Host test.
2018-01-11 11:34:14 +09:00
Michael Schurter
042305ee4a
Remove SetEnv on all platforms
2017-08-16 15:32:21 -07:00
Shirou WAKAYAMA
fa3e1cc196
[common]linux: add HostEtc to switch '/etc' See #175 .
2016-03-13 23:42:06 +09:00
Daniel Theophanes
0af895258e
common: rename package common to internal/common. Add ENV helper funcs.
...
Package common wasn't used for public functions. Place it in an
internal directory to prevent other packages from using.
Remove the distributed references to "HOST_PROC" and "HOST_SYS"
consts and combine into a common function. This also helps so that
if a env var is defined with a trailing slash all will continue to
work as expected.
Fixes #100
2015-10-18 20:40:01 -07:00