Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ClientStatusIn ¶
func ClientStatusIn(status ClientStatus, statuses ...ClientStatus) bool
ClientStatusIn returns true if the given "status" is present in the status slice
Types ¶
type Client ¶
type Client interface { Deploy() error Status() ClientStatus Running() bool Interrupt() Wait() ClientStatus Result() ResultData }
type ClientStatus ¶
type ClientStatus int
const ( Starting ClientStatus = iota Running Success Error Timeout Interrupted Unknown )
type ReceiverBuilder ¶
type ReceiverBuilder interface { New(name string, data framework.ContextData, url string) ReceiverBuilder Messages(count int) ReceiverBuilder Timeout(timeout int) ReceiverBuilder Param(name string, value string) ReceiverBuilder Build() (Client, error) }
ReceiverBuilder minimalist sample builder for AMQP Receivers
type ResultData ¶
type SenderBuider ¶
type SenderBuider interface { New(name string, data framework.ContextData, url string) SenderBuider Messages(count int) SenderBuider Timeout(timeout int) SenderBuider Param(name string, value string) SenderBuider MessageContent(content string) SenderBuider Build() (Client, error) }
SenderBuilder minimalist sample builder for AMQP Senders
Click to show internal directories.
Click to hide internal directories.