Documentation
¶
Index ¶
- Variables
- func EnableDebug()
- func LogDebug(format string, args ...interface{})
- func LogError(format string, args ...interface{})
- func LogInfo(format string, args ...interface{})
- func LogSuccess(format string, args ...interface{})
- func LogWarning(format string, args ...interface{})
- func StartStatsReporter(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var Stats = &stats{}
Stats is the process-wide traffic/connection counter.
Functions ¶
func LogSuccess ¶
func LogSuccess(format string, args ...interface{})
func LogWarning ¶
func LogWarning(format string, args ...interface{})
func StartStatsReporter ¶
StartStatsReporter launches a goroutine that logs tunnel statistics every 10 seconds. It stops when ctx is cancelled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.