Documentation ¶ Index ¶ func RoundTrip(addr, msg string) (string, error) func Serve(addr string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RoundTrip ¶ func RoundTrip(addr, msg string) (string, error) RoundTrip sends msg to addr via a QUIC datagram. It returns the value of the first datagram received from the remote host or an error. For testing purposes, this function explicitly skips TLS cert verification. Do not use this in production. func Serve ¶ func Serve(addr string) error Serve implements a rudimentary QUIC datagram echo server. It listens on addr via QUIC, accepts and echoes back datagrams received. Types ¶ This section is empty. Source Files ¶ View all Source files echo.go Click to show internal directories. Click to hide internal directories.