simple_source

command module
v0.0.0-...-0156652 Latest Latest
Warning

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

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

README

Simple Source

A simple example of a user-defined source. The source maintains an array of messages and implements the Read(), Ack(), and Pending() methods.

The Read(x) method returns the next x number of messages in the array. The Ack() method acknowledges the last batch of messages returned by Read(). The Pending() method returns 0 to indicate that the simple source always has 0 pending messages.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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