|
@@ -17,7 +17,6 @@ import (
|
|
// be sent over the error channel. If an error is sent all processing will be stopped. It's up
|
|
// be sent over the error channel. If an error is sent all processing will be stopped. It's up
|
|
// to the caller to reopen the stream in the event of an error by reinvoking this method.
|
|
// to the caller to reopen the stream in the event of an error by reinvoking this method.
|
|
func (cli *Client) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error) {
|
|
func (cli *Client) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error) {
|
|
-
|
|
|
|
messages := make(chan events.Message)
|
|
messages := make(chan events.Message)
|
|
errs := make(chan error, 1)
|
|
errs := make(chan error, 1)
|
|
|
|
|