mocks

package
v0.0.0-...-e797cc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface struct {
	mock.Mock
}

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

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

func (_m *Interface) DeleteStream(streamID int64) error

DeleteStream provides a mock function with given fields: streamID

func (*Interface) DeleteTopic

func (_m *Interface) DeleteTopic(streamID int64) error

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) Login

func (_m *Interface) Login(email string, password string) (*int64, error)

Login provides a mock function with given fields: email, password

func (*Interface) SignUp

func (_m *Interface) SignUp(email string, password string) (*int64, error)

SignUp provides a mock function with given fields: email, password

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL