Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DON ¶ added in v2.4.0
DON is an autogenerated mock type for the DON type
type Handler ¶
Handler is an autogenerated mock type for the Handler type
func NewHandler ¶
NewHandler creates a new instance of Handler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Handler) HandleNodeMessage ¶
HandleNodeMessage provides a mock function with given fields: ctx, msg, nodeAddr
func (*Handler) HandleUserMessage ¶
func (_m *Handler) HandleUserMessage(ctx context.Context, msg *api.Message, callbackCh chan<- handlers.UserCallbackPayload) error
HandleUserMessage provides a mock function with given fields: ctx, msg, callbackCh
Click to show internal directories.
Click to hide internal directories.