mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-19 18:04:09 +02:00
Code maintenance: Unix abstraction interface
- Used for creating the tun device if it does not exist - Mocks generated for testing
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package unix
|
||||
|
||||
import sysunix "golang.org/x/sys/unix"
|
||||
|
||||
// Constants used for convenience so "os" does not have to be imported
|
||||
|
||||
const (
|
||||
S_IFCHR = sysunix.S_IFCHR
|
||||
)
|
||||
Reference in New Issue
Block a user