package
0.0.0-20220613080921-65fd79d85952
Repository: https://github.com/xqueries/xdb.git
Documentation: pkg.go.dev
# Functions
DialTCP dials to the given address, assuming a TCP network.
NewTCPServer creates a new ready to use TCP server that uses the given logger.
# Constants
ErrClosed indicates, that the component is already closed, and it cannot be used anymore.
ErrOpen indicates, that the component was already opened, and it is unable to be opened another time.
ErrTimeout indicates, that a the operation took longer than allowed.
# Type aliases
ConnHandler is a handler function for handling new connections.
Error is a helper type for creating constant errors.