First set of code review patches
This commit is contained in:
parent
22c83f4b8d
commit
8c34c4cbb3
15 changed files with 315 additions and 182 deletions
|
|
@ -11,13 +11,12 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
ipcErrorIO = int64(unix.EIO)
|
||||
ipcErrorNoPeer = int64(unix.EPROTO)
|
||||
ipcErrorNoKeyValue = int64(unix.EPROTO)
|
||||
ipcErrorInvalidKey = int64(unix.EPROTO)
|
||||
ipcErrorInvalidValue = int64(unix.EPROTO)
|
||||
socketDirectory = "/var/run/wireguard"
|
||||
socketName = "%s.sock"
|
||||
ipcErrorIO = -int64(unix.EIO)
|
||||
ipcErrorNotDefined = -int64(unix.ENODEV)
|
||||
ipcErrorProtocol = -int64(unix.EPROTO)
|
||||
ipcErrorInvalid = -int64(unix.EINVAL)
|
||||
socketDirectory = "/var/run/wireguard"
|
||||
socketName = "%s.sock"
|
||||
)
|
||||
|
||||
/* TODO:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue