-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
29 lines (18 loc) · 775 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# The Mercury Protocol
This repository contains the specification and reference implementations for the Mercury protocol.
The specification is defined in SPEC.
## Server
To run the server:
go install github.com/floren/mercury/mercury-server@master
mercury-server -file /tmp/hello.txt
## Client
To run the client:
go install github.com/floren/mercury/mercury-client@master
The client will prompt for servers. By default, Mercury servers run on port 1958, but you can use multiple servers to serve multiple files:
$ mercury-client
Mercury host (q to quit)> example.org:1958
Welcome!
Check out example.org:1959 for some other stuff.
Mercury host (q to quit)> example.org:1959
You found the secret message!
Mercury host (q to quit)>