shared_queue

command
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

README

shared_queue

this example queues data to the shared queue on every request, and periodically processes the queued data on OnTick function.

wasm log my_root_id: queue registered, name: proxy_wasm_go.queue, id: 1
wasm log my_root_id: set tick period milliseconds: 100
wasm log my_root_id: queue registered, name: proxy_wasm_go.queue, id: 1
wasm log my_root_id: set tick period milliseconds: 100
wasm log my_root_id: dequeued data: hello
wasm log my_root_id: dequeued data: world
wasm log my_root_id: dequeued data: hello
wasm log my_root_id: dequeued data: proxy-wasm
wasm log my_root_id: dequeued data: hello
wasm log my_root_id: dequeued data: world
wasm log my_root_id: dequeued data: hello
wasm log my_root_id: dequeued data: proxy-wasm
wasm log my_root_id: dequeued data: hello
wasm log my_root_id: dequeued data: world
wasm log my_root_id: dequeued data: hello
wasm log my_root_id: dequeued data: proxy-wasm

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