package
0.2.2
Repository: https://github.com/tkw1536/proxyssh.git
Documentation: pkg.go.dev

# Functions

FmtSSHLog formats a log message, prefixes it with information about s, and then prints it to Logger.
GetGlobalLeakDetectorStats gets statistics about global leak detector calls.
NewLeakDetector creates a new MemoryLeakDetector object.
ResetGlobalLeakDetectorStats resets the stats tracker used for the global leak detector.

# Constants

MemoryLeakEnabled indicates if the memory leak detector is enabled.
MemoryLeakTimeout is the default used by the memory detector to trigger.

# Structs

MemoryLeakDetectorOff is the disabled variant of MemoryLeakDetectorInterface.
MemoryLeakDetectorOn is the enabled variant of MemoryLeakDetectorInterface.

# Interfaces

Logger represents an object that can be used for log messages.
LogSessionOrContext represents either an ssh.Session or an ssh.Context.
MemoryLeakDetectorInterface represents a Memory Leak Detector.

# Type aliases

MemoryLeakDetector represents the either enabled or disabled memory leak detector.