streaming

command module
v0.0.0-...-70338ab Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 8 Imported by: 0

README

Streaming example

A simple Commander example application using the Mock dialect and bidirectional streaming. This example simulates the streaming of messages back to the client. A response is returned once a message marking the end of the stream is returned.

A sync command is executed when sending a request to GET /. If no event is returned within a set timeout period (5s) is a timeout error returned.

$ # Run the example
$ go run main.go
$ # Execute 
$ curl 127.0.0.1:8080

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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