Documentation
¶
Overview ¶
Package cli implements the socat command-line interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Help int // 0 none, 1 -h, 2 -hh, 3 -hhh
Version bool
LogLevel logx.Level
LogFile string
Progname string
Micros bool
Hostname bool
Verbose bool
Hex bool
BlockSize int
Linger time.Duration
Idle time.Duration // <0 infinite, 0 zero, >0 timeout
IdleSet bool
LeftToRight bool // -u
RightToLeft bool // -U
IP4 bool
IP6 bool
IPAny bool
Statistics bool
Experimental bool
LockFile string
LockWait string
RawLeft string // -r
RawRight string // -R
Addresses []string
}
Config holds parsed global options.
Click to show internal directories.
Click to hide internal directories.