websocket

command
v0.0.0-...-2c5e70e Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

README

Websocket Client

Start a Flow with WebSocket protocol
jina flow --uses flow.yml
Send DataRequests to the Flow
go run main.go --host ws://localhost:12345
Total 3 docs received.
DocID: 0
        Chunk 0 text: Hello world. 
        Chunk 1 text: This is a test document with id:0 
DocID: 1
        Chunk 0 text: Hello world. 
        Chunk 1 text: This is a test document with id:1 
DocID: 2
        Chunk 0 text: Hello world. 
        Chunk 1 text: This is a test document with id:2

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