Commit graph

8 commits

Author SHA1 Message Date
Matthew Ellison
6a94337a59
Additional Cleanup (DRY) 2017-05-23 10:01:22 -04:00
Matthew Ellison
f9df1e79f2
Gofmt Cleanup 2017-05-23 09:43:05 -04:00
Matthew Ellison
c59a2fb87d
Removes Redundant Type Conversion 2017-05-23 09:06:42 -04:00
Matthew Ellison
ad8a32dbd3
linux: Adds Persistent Devs + Setting Owner/Group 2017-05-23 09:06:42 -04:00
Matthew Ellison
70591d2499
Simplifies Platform Specific Interface Creation
The interface `Config` object is now passed directly into each creation
function in order to more easily use additional options.

In addition, the linux and darwin parameters were split to better
capture different options for each platform.
2017-05-23 09:06:42 -04:00
Song Gao
6a76f249f6 use embeded elements instead or private field for /dev/net/tun
this makes it possible to get *os.File by using type assertion over
ReadWriteCloser.

resolves #7
2016-04-16 12:45:00 -05:00
Harshal Sheth
e3fcc2a155 Moved linux specific code to the syscalls_linux.go file. Also removed unneeded constants from the syscalls_other.go file. 2015-11-07 19:20:00 -05:00
Song Gao
4a028c3fe3 initial commit 2013-03-25 14:49:39 -05:00