package
3.23.1+incompatible
Repository: https://github.com/jina-ai/client-go.git
Documentation: pkg.go.dev
# README
Websocket Client
Start a Flow with WebSocket protocol
jina flow --uses flow.yml
Send DataRequest
s 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