client

command
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2026 License: MIT Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command client talks to an echo server. Stdin goes out as text messages, one per line typed, and every reply is printed, until stdin ends and the connection is closed with code 1000. With -file, the file is streamed as one binary message straight from disk and the reply streamed back into a hash, which exercises the fragmenting paths in both directions without holding the file in memory.

go run ./examples/client -url ws://localhost:9001
go run ./examples/client -url ws://localhost:9002 -file big.bin

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL