Documentation
¶
Index ¶
- func WgGetConfig(tunnelHandle int32) string
- func WgGetSocketV4(tunnelHandle int32) int32
- func WgGetSocketV6(tunnelHandle int32) int32
- func WgGetState(tunnelHandle int32) int
- func WgSetNetworkAvailable(tunnelHandle int32, available bool) int
- func WgTurnOff(tunnelHandle int32)
- func WgTurnOn(interfaceName string, tunFd int32, settings string, socketType string, ...) int32
- func WgVersion() string
- type AndroidLogger
- type SocketProtector
- type TunnelHandle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WgGetConfig ¶
func WgGetSocketV4 ¶
func WgGetSocketV6 ¶
func WgGetState ¶
func WgSetNetworkAvailable ¶
Types ¶
type AndroidLogger ¶
type AndroidLogger struct {
// contains filtered or unexported fields
}
func (AndroidLogger) Printf ¶
func (l AndroidLogger) Printf(format string, args ...interface{})
type SocketProtector ¶
type TunnelHandle ¶
type TunnelHandle struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.