Fixed tabs
This commit is contained in:
parent
73cb1a1155
commit
743364f647
|
@ -10,12 +10,12 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ipcErrorIO = -int64(unix.EIO)
|
ipcErrorIO = -int64(unix.EIO)
|
||||||
ipcErrorProtocol = -int64(unix.EPROTO)
|
ipcErrorProtocol = -int64(unix.EPROTO)
|
||||||
ipcErrorInvalid = -int64(unix.EINVAL)
|
ipcErrorInvalid = -int64(unix.EINVAL)
|
||||||
ipcErrorPortInUse = -int64(unix.EADDRINUSE)
|
ipcErrorPortInUse = -int64(unix.EADDRINUSE)
|
||||||
socketDirectory = "/var/run/wireguard"
|
socketDirectory = "/var/run/wireguard"
|
||||||
socketName = "%s.sock"
|
socketName = "%s.sock"
|
||||||
)
|
)
|
||||||
|
|
||||||
type UAPIListener struct {
|
type UAPIListener struct {
|
||||||
|
|
|
@ -11,10 +11,10 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ipcErrorIO = -int64(windows.ERROR_BROKEN_PIPE)
|
ipcErrorIO = -int64(windows.ERROR_BROKEN_PIPE)
|
||||||
ipcErrorProtocol = -int64(windows.ERROR_INVALID_NAME)
|
ipcErrorProtocol = -int64(windows.ERROR_INVALID_NAME)
|
||||||
ipcErrorInvalid = -int64(windows.ERROR_INVALID_PARAMETER)
|
ipcErrorInvalid = -int64(windows.ERROR_INVALID_PARAMETER)
|
||||||
ipcErrorPortInUse = -int64(windows.ERROR_ALREADY_EXISTS)
|
ipcErrorPortInUse = -int64(windows.ERROR_ALREADY_EXISTS)
|
||||||
)
|
)
|
||||||
|
|
||||||
const PipeNameFmt = "\\\\.\\pipe\\wireguard-ipc-%s"
|
const PipeNameFmt = "\\\\.\\pipe\\wireguard-ipc-%s"
|
||||||
|
|
Loading…
Reference in a new issue