Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
func NewClient(t mockConstructorTestingTNewClient) *Client
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Client) EXPECT ¶ added in v0.24.0
func (_m *Client) EXPECT() *Client_Expecter
type Client_Broadcast_Call ¶ added in v0.24.0
Client_Broadcast_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Broadcast'
func (*Client_Broadcast_Call) Return ¶ added in v0.24.0
func (_c *Client_Broadcast_Call) Return(_a0 error) *Client_Broadcast_Call
func (*Client_Broadcast_Call) Run ¶ added in v0.24.0
func (_c *Client_Broadcast_Call) Run(run func(ctx context.Context, msgs ...types.Msg)) *Client_Broadcast_Call
func (*Client_Broadcast_Call) RunAndReturn ¶ added in v0.24.0
func (_c *Client_Broadcast_Call) RunAndReturn(run func(context.Context, ...types.Msg) error) *Client_Broadcast_Call
type Client_Expecter ¶ added in v0.24.0
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) Broadcast ¶ added in v0.24.0
func (_e *Client_Expecter) Broadcast(ctx interface{}, msgs ...interface{}) *Client_Broadcast_Call
Broadcast is a helper method to define mock.On call
- ctx context.Context
- msgs ...types.Msg
Click to show internal directories.
Click to hide internal directories.