examples/

directory
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2022 License: MIT

README

petrel examples

See the demo server and client for worked, annotated examples of Petrel usage.

To see them in action, in the basic example directory, do go run example-server.go to start the example server. Then in another terminal, try a few runs of the client:

go run demo/example-client.go time
go run demo/example-client.go echo whatever you feel like typing here
go run demo/example-client.go
go run demo/example-client.go foobar

Check out the results of the client, and the messages printed in the server's terminal. When you're done, kill the server with C-c.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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