Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConsumerDefaults = Consumer{ Reader: os.Stdin, }
ConsumerDefaults holds the default values for Consumer.
View Source
var ProducerDefaults = Producer{ Writer: os.Stdout, }
ProducerDefaults holds the default values for Producer.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct { // Reader is the object that implements the io.ReadCloser interface // (io.Reader + io.Closer). This object is used to read messages from the // stream. Defaults to `os.Stdin`. Reader io.ReadCloser `ignored:"true"` }
Consumer is a value-object, containing all user-configurable configuration values that dictate how the standard stream client's consumer will behave.
type Producer ¶
type Producer struct { // Writer is the object that implements the io.Writer interface. This object // is used to write new messages to the stream. Defaults to `os.Stdout`. Writer io.Writer `ignored:"true"` }
Producer is a value-object, containing all user-configurable configuration values that dictate how the standard stream client's producer will behave.
Click to show internal directories.
Click to hide internal directories.