Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service is an autogenerated mock type for the Service type
func NewService ¶
NewService creates a new instance of Service. 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 (*Service) EXPECT ¶
func (_m *Service) EXPECT() *Service_Expecter
type Service_Expecter ¶
type Service_Expecter struct {
// contains filtered or unexported fields
}
func (*Service_Expecter) Subscribe ¶
func (_e *Service_Expecter) Subscribe(ctx interface{}, sessionID interface{}, username interface{}, password interface{}, domainID interface{}, chanID interface{}, subtopic interface{}, topicType interface{}, client interface{}) *Service_Subscribe_Call
Subscribe is a helper method to define mock.On call
- ctx context.Context
- sessionID string
- username string
- password string
- domainID string
- chanID string
- subtopic string
- topicType messaging.TopicType
- client *http.Client
func (*Service_Expecter) Unsubscribe ¶
func (_e *Service_Expecter) Unsubscribe(ctx interface{}, sessionID interface{}, domainID interface{}, chanID interface{}, subtopic interface{}, topicType interface{}) *Service_Unsubscribe_Call
Unsubscribe is a helper method to define mock.On call
- ctx context.Context
- sessionID string
- domainID string
- chanID string
- subtopic string
- topicType messaging.TopicType
type Service_Subscribe_Call ¶
Service_Subscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Subscribe'
func (*Service_Subscribe_Call) Return ¶
func (_c *Service_Subscribe_Call) Return(err error) *Service_Subscribe_Call
func (*Service_Subscribe_Call) RunAndReturn ¶
type Service_Unsubscribe_Call ¶
Service_Unsubscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unsubscribe'
func (*Service_Unsubscribe_Call) Return ¶
func (_c *Service_Unsubscribe_Call) Return(err error) *Service_Unsubscribe_Call
func (*Service_Unsubscribe_Call) Run ¶
func (_c *Service_Unsubscribe_Call) Run(run func(ctx context.Context, sessionID string, domainID string, chanID string, subtopic string, topicType messaging.TopicType)) *Service_Unsubscribe_Call
func (*Service_Unsubscribe_Call) RunAndReturn ¶
Click to show internal directories.
Click to hide internal directories.