Documentation
¶
Index ¶
- type FakeClient
- func (c *FakeClient) Addr() string
- func (c *FakeClient) AwaitRunning()
- func (c *FakeClient) Connected() bool
- func (c *FakeClient) ReconnectCount() int64
- func (c *FakeClient) Request(message *amqp.Message) (*amqp.Message, error)
- func (c *FakeClient) RequestWithTimeout(message *amqp.Message, timeout time.Duration) (*amqp.Message, error)
- func (c *FakeClient) Start()
- func (c *FakeClient) Stop()
- type RequestHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct {
Handler RequestHandler
}
func NewFakeClient ¶
func NewFakeClient() *FakeClient
func (*FakeClient) Addr ¶
func (c *FakeClient) Addr() string
func (*FakeClient) AwaitRunning ¶
func (c *FakeClient) AwaitRunning()
func (*FakeClient) Connected ¶
func (c *FakeClient) Connected() bool
func (*FakeClient) ReconnectCount ¶
func (c *FakeClient) ReconnectCount() int64
func (*FakeClient) RequestWithTimeout ¶
func (*FakeClient) Start ¶
func (c *FakeClient) Start()
func (*FakeClient) Stop ¶
func (c *FakeClient) Stop()
Click to show internal directories.
Click to hide internal directories.