mock

package
v0.7.24 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLive

type MockLive struct {
	// contains filtered or unexported fields
}

MockLive is a mock of Live interface.

func NewMockLive

func NewMockLive(ctrl *gomock.Controller) *MockLive

NewMockLive creates a new mock instance.

func (*MockLive) EXPECT

func (m *MockLive) EXPECT() *MockLiveMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLive) GetHeadersForDownloader added in v0.7.22

func (m *MockLive) GetHeadersForDownloader() map[string]string

GetHeadersForDownloader mocks base method.

func (*MockLive) GetInfo

func (m *MockLive) GetInfo() (*live.Info, error)

GetInfo mocks base method.

func (*MockLive) GetLastStartTime

func (m *MockLive) GetLastStartTime() time.Time

GetLastStartTime mocks base method.

func (*MockLive) GetLiveId

func (m *MockLive) GetLiveId() live.ID

GetLiveId mocks base method.

func (*MockLive) GetPlatformCNName

func (m *MockLive) GetPlatformCNName() string

GetPlatformCNName mocks base method.

func (*MockLive) GetRawUrl

func (m *MockLive) GetRawUrl() string

GetRawUrl mocks base method.

func (*MockLive) GetStreamUrls

func (m *MockLive) GetStreamUrls() ([]*url.URL, error)

GetStreamUrls mocks base method.

func (*MockLive) SetLastStartTime

func (m *MockLive) SetLastStartTime(arg0 time.Time)

SetLastStartTime mocks base method.

func (*MockLive) SetLiveIdByString added in v0.7.0

func (m *MockLive) SetLiveIdByString(arg0 string)

SetLiveIdByString mocks base method.

type MockLiveMockRecorder

type MockLiveMockRecorder struct {
	// contains filtered or unexported fields
}

MockLiveMockRecorder is the mock recorder for MockLive.

func (*MockLiveMockRecorder) GetHeadersForDownloader added in v0.7.22

func (mr *MockLiveMockRecorder) GetHeadersForDownloader() *gomock.Call

GetHeadersForDownloader indicates an expected call of GetHeadersForDownloader.

func (*MockLiveMockRecorder) GetInfo

func (mr *MockLiveMockRecorder) GetInfo() *gomock.Call

GetInfo indicates an expected call of GetInfo.

func (*MockLiveMockRecorder) GetLastStartTime

func (mr *MockLiveMockRecorder) GetLastStartTime() *gomock.Call

GetLastStartTime indicates an expected call of GetLastStartTime.

func (*MockLiveMockRecorder) GetLiveId

func (mr *MockLiveMockRecorder) GetLiveId() *gomock.Call

GetLiveId indicates an expected call of GetLiveId.

func (*MockLiveMockRecorder) GetPlatformCNName

func (mr *MockLiveMockRecorder) GetPlatformCNName() *gomock.Call

GetPlatformCNName indicates an expected call of GetPlatformCNName.

func (*MockLiveMockRecorder) GetRawUrl

func (mr *MockLiveMockRecorder) GetRawUrl() *gomock.Call

GetRawUrl indicates an expected call of GetRawUrl.

func (*MockLiveMockRecorder) GetStreamUrls

func (mr *MockLiveMockRecorder) GetStreamUrls() *gomock.Call

GetStreamUrls indicates an expected call of GetStreamUrls.

func (*MockLiveMockRecorder) SetLastStartTime

func (mr *MockLiveMockRecorder) SetLastStartTime(arg0 interface{}) *gomock.Call

SetLastStartTime indicates an expected call of SetLastStartTime.

func (*MockLiveMockRecorder) SetLiveIdByString added in v0.7.0

func (mr *MockLiveMockRecorder) SetLiveIdByString(arg0 interface{}) *gomock.Call

SetLiveIdByString indicates an expected call of SetLiveIdByString.

Jump to

Keyboard shortcuts

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