Documentation ¶
Index ¶
- type Interface
- func (_m *Interface) AddStream(streamInterface entity.StreamInterface) (entity.StreamInterface, error)
- func (_m *Interface) AddTopic(_a0 entity.TopicInterface) (entity.TopicInterface, error)
- func (_m *Interface) AddTweetStreams(tweetStreams entity.TweetStreamsInterface) (int64, error)
- func (_m *Interface) DeleteStream(streamID int64) error
- func (_m *Interface) DeleteTopic(streamID int64) error
- func (_m *Interface) GetActiveStreams() ([]entity.StreamInterface, error)
- func (_m *Interface) GetTopic(topicID int64) (entity.TopicInterface, error)
- func (_m *Interface) GetTopicStreams(topicID int64) ([]entity.StreamInterface, error)
- func (_m *Interface) GetTopicTweets(topicID int64) ([]entity.TweetInterface, error)
- func (_m *Interface) GetUserTopics(userID int64) ([]entity.TopicInterface, error)
- func (_m *Interface) Login(email string, password string) (*int64, error)
- func (_m *Interface) SignUp(email string, password string) (*int64, error)
- func (_m *Interface) UpdateStream(streamInterface entity.StreamInterface) (entity.StreamInterface, error)
- func (_m *Interface) UpdateTopic(_a0 entity.TopicInterface) (entity.TopicInterface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
Interface is an autogenerated mock type for the Interface type
func (*Interface) AddStream ¶
func (_m *Interface) AddStream(streamInterface entity.StreamInterface) (entity.StreamInterface, error)
AddStream provides a mock function with given fields: streamInterface
func (*Interface) AddTopic ¶
func (_m *Interface) AddTopic(_a0 entity.TopicInterface) (entity.TopicInterface, error)
AddTopic provides a mock function with given fields: _a0
func (*Interface) AddTweetStreams ¶
func (_m *Interface) AddTweetStreams(tweetStreams entity.TweetStreamsInterface) (int64, error)
AddTweetStreams provides a mock function with given fields: tweetStreams
func (*Interface) DeleteStream ¶
DeleteStream provides a mock function with given fields: streamID
func (*Interface) DeleteTopic ¶
DeleteTopic provides a mock function with given fields: streamID
func (*Interface) GetActiveStreams ¶
func (_m *Interface) GetActiveStreams() ([]entity.StreamInterface, error)
GetActiveStreams provides a mock function with given fields:
func (*Interface) GetTopic ¶
func (_m *Interface) GetTopic(topicID int64) (entity.TopicInterface, error)
GetTopic provides a mock function with given fields: topicID
func (*Interface) GetTopicStreams ¶
func (_m *Interface) GetTopicStreams(topicID int64) ([]entity.StreamInterface, error)
GetTopicStreams provides a mock function with given fields: topicID
func (*Interface) GetTopicTweets ¶
func (_m *Interface) GetTopicTweets(topicID int64) ([]entity.TweetInterface, error)
GetTopicTweets provides a mock function with given fields: topicID
func (*Interface) GetUserTopics ¶
func (_m *Interface) GetUserTopics(userID int64) ([]entity.TopicInterface, error)
GetUserTopics provides a mock function with given fields: userID
func (*Interface) UpdateStream ¶
func (_m *Interface) UpdateStream(streamInterface entity.StreamInterface) (entity.StreamInterface, error)
UpdateStream provides a mock function with given fields: streamInterface
func (*Interface) UpdateTopic ¶
func (_m *Interface) UpdateTopic(_a0 entity.TopicInterface) (entity.TopicInterface, error)
UpdateTopic provides a mock function with given fields: _a0