Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler is an autogenerated mock type for the Handler type
func NewHandler ¶
func NewHandler(t mockConstructorTestingTNewHandler) *Handler
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.
func (*Handler) HandleNodeMessage ¶
func (_m *Handler) HandleNodeMessage(ctx context.Context, msg *gateway.Message, nodeAddr string) error
HandleNodeMessage provides a mock function with given fields: ctx, msg, nodeAddr
func (*Handler) HandleUserMessage ¶
func (_m *Handler) HandleUserMessage(ctx context.Context, msg *gateway.Message, callbackCh chan<- gateway.UserCallbackPayload) error
HandleUserMessage provides a mock function with given fields: ctx, msg, callbackCh
Click to show internal directories.
Click to hide internal directories.