Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEnableDevice ¶
func IsEnableDevice() bool
IsEnableDevice checks if device debug logs enabled.
func IsEnablePeer ¶
func IsEnablePeer() bool
IsEnablePeer checks if packet between peers debug logs enabled.
func IsEnablePortal ¶
func IsEnablePortal() bool
IsEnablePortal checks if http request between portal and node debug logs enabled.
func IsEnableRelay ¶
func IsEnableRelay() bool
IsEnableRelay checks if packet between relay and node device debug logs enabled.
Types ¶
type Type ¶
type Type byte
const ( // DebugPortalLevel indicates HTTP request between node and gateway DebugPortalLevel Type = 0 // DebugRelayPacket indicates UDP packet message between node and gateway DebugRelayPacket Type = 1 // DebugPeerPacket indicates UDP packet message between peers DebugPeerPacket Type = 2 // DebugDevicePacket indicates Packets read from/write into virtual device DebugDevicePacket Type = 3 )
Click to show internal directories.
Click to hide internal directories.