Discover Packages
github.com/google/cloudprober
servers
udp
package
Version:
v0.10.3
Opens a new window with list of versions in this module.
Published: Jul 17, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 18
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package udp implements a UDP server. It listens on a
given port and echos whatever it receives. This is used for the UDP probe.
Listen opens a UDP socket on the given port. It also attempts to set recv
buffer to a large value so that we can have many outstanding UDP messages.
Listen is exported only because it's used by udp probe tests.
Server implements a basic UDP server.
New returns an UDP server.
Start starts the UDP server. It returns only when context is canceled.
Source Files
¶
Directories
¶
This binary implements a stand-alone UDP server using the cloudprober/servers/udp/udp package.
This binary implements a stand-alone UDP server using the cloudprober/servers/udp/udp package.
Click to show internal directories.
Click to hide internal directories.