share2

command
v0.0.0-...-f3d8a94 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Share is a piece of demo code to illustrate the flexibility of the rpc and netchan packages. It requires one instance to be running in server mode on some network address addr, e.g. localhost:3456:

share -s localhost:3456

Then in other windows or on other machines, run some client instances:

share -name foo localhost:3456

The name must be different for each client instance. When a client instance is running, there are two commands:

list
	List all currently connected client names
read client filename
	Ask the given client for the contents of the named file.

Jump to

Keyboard shortcuts

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