Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
func (*Broker) AwaitReceivers ¶
type Connection ¶
type ConnectionFactory ¶
type ConnectionFactory interface { Connect() (Connection, error) Url() string }
type MockConnectionFactory ¶
func NewMockConnectionFactory ¶
func NewMockConnectionFactory(t *testing.T, url string) *MockConnectionFactory
NewMockConnectionFactory creates an in-memory message brokering stub. Messages will be sent multicast and are buffered for all unclosed receivers.
func (*MockConnectionFactory) Connect ¶
func (f *MockConnectionFactory) Connect() (Connection, error)
func (*MockConnectionFactory) Url ¶
func (f *MockConnectionFactory) Url() string
Click to show internal directories.
Click to hide internal directories.