Documentation
¶
Index ¶
- Constants
- Variables
- func Cause(cause string, err error) error
- func GetSecond[T any](_ any, r T) T
- func Must[T any](s T, err error) T
- func Must0(err error)
- func MustOK[T any](s T, ok bool) T
- func Unwrap(err error) error
- func UnwrapReader(reader io.Reader) io.Reader
- func UnwrapWriter(writer io.Writer) io.Writer
- type HasInnerError
- type WrappedReader
- type WrappedWriter
Constants ¶
View Source
const ( CGOEnabled = true CGOHint = "enabled" )
Variables ¶
View Source
var CRLF = []byte("\r\n")
Functions ¶
Types ¶
type HasInnerError ¶
type HasInnerError interface {
Unwrap() error
}
Directories
¶
Path | Synopsis |
---|---|
Package network contains all protocols for remote connection used by ZBProxy.
|
Package network contains all protocols for remote connection used by ZBProxy. |
socks
Package socks implemented SOCKS protocol version 4, 4a and 5 (RFC1928).
|
Package socks implemented SOCKS protocol version 4, 4a and 5 (RFC1928). |
Package proxyprotocol partially implements PROXY protocol proposed by HAProxy, aiming at high-performance integration with the rest of ZBProxy.
|
Package proxyprotocol partially implements PROXY protocol proposed by HAProxy, aiming at high-performance integration with the rest of ZBProxy. |
Click to show internal directories.
Click to hide internal directories.