package
1.2.0
Repository: https://github.com/cloudfoundry/cf-drain-cli.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ExponentialDuration returns a duration that grows exponentially with each attempt.
No description provided by the author
NewTCPWriter creates a new TCP syslog writer.
No description provided by the author
No description provided by the author
No description provided by the author
RetryWrapper wraps a WriterConstructer, allowing it to retry writes.

# Structs

No description provided by the author
NetworkTimeoutConfig stores various timeout values.
RetryWriter wraps a WriteCloser and will retry writes if the first fails.
TCPWriter represents a syslog writer that connects over unencrypted TCP.
TLSWriter represents a syslog writer that connects over unencrypted TCP.
application is identified by AppID and Hostname.

# Interfaces

No description provided by the author
WriteCloser is the interface for all syslog writers.
Write is the interface for all diode writers.

# Type aliases

DialFunc represents a method for creating a connection, either TCP or TLS.
RetryDuration calculates a duration based on the number of write attempts.
No description provided by the author