Documentation
¶
Index ¶
- Constants
- func IncrDirectServerReadErr()
- func IncrDirectServerWriteErr()
- func IncrProxyServerReadErr()
- func IncrProxyServerWriteErr()
- func InitConfig()
- func NewReverseLookupCache() *reverseLookupCache
- func ReportStatistics(err error, srcName string, dstName string)
- func StartProxy(newconnection ProxyConnectionManager)
- type DirectProxyConnection
- type LoggingProxyConnection
- type ProxyConnectionManager
Constants ¶
View Source
const BUILDHOST = "C02FFGF5MD6M"
View Source
const BUILDTIMESTAMP = 1629453200
View Source
const BUILDUSER = "rkenny"
View Source
const SO_ORIGINAL_DST = 80
View Source
const VERSION = "1.2"
Variables ¶
This section is empty.
Functions ¶
func IncrDirectServerReadErr ¶
func IncrDirectServerReadErr()
func IncrDirectServerWriteErr ¶
func IncrDirectServerWriteErr()
func IncrProxyServerReadErr ¶
func IncrProxyServerReadErr()
func IncrProxyServerWriteErr ¶
func IncrProxyServerWriteErr()
func InitConfig ¶
func InitConfig()
func NewReverseLookupCache ¶
func NewReverseLookupCache() *reverseLookupCache
func ReportStatistics ¶
func StartProxy ¶
func StartProxy(newconnection ProxyConnectionManager)
Types ¶
type DirectProxyConnection ¶
type DirectProxyConnection struct {
// contains filtered or unexported fields
}
func (*DirectProxyConnection) CopyProxyConnection ¶
func (into *DirectProxyConnection) CopyProxyConnection(dst io.ReadWriteCloser, src io.ReadWriteCloser, dstName string, srcName string)
func (*DirectProxyConnection) SpawnBiDirectionalCopy ¶
func (into *DirectProxyConnection) SpawnBiDirectionalCopy(dst io.ReadWriteCloser, src io.ReadWriteCloser, dstName string, srcName string)
type LoggingProxyConnection ¶
type LoggingProxyConnection struct {
// contains filtered or unexported fields
}
func (*LoggingProxyConnection) CopyProxyConnection ¶
func (into *LoggingProxyConnection) CopyProxyConnection(dst io.ReadWriteCloser, src io.ReadWriteCloser, dstName string, srcName string)
func (*LoggingProxyConnection) SpawnBiDirectionalCopy ¶
func (into *LoggingProxyConnection) SpawnBiDirectionalCopy(dst io.ReadWriteCloser, src io.ReadWriteCloser, dstName string, srcName string)
type ProxyConnectionManager ¶
type ProxyConnectionManager interface { CopyProxyConnection(io.ReadWriteCloser, io.ReadWriteCloser, string, string) SpawnBiDirectionalCopy(io.ReadWriteCloser, io.ReadWriteCloser, string, string) }
Click to show internal directories.
Click to hide internal directories.