mock

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 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) 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) GetUploadPath

func (m *MockLive) GetUploadPath() string

GetUploadPath mocks base method.

func (*MockLive) NeedUpload

func (m *MockLive) NeedUpload() bool

NeedUpload mocks base method.

func (*MockLive) SetLastStartTime

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

SetLastStartTime mocks base method.

func (*MockLive) SetUpload

func (m *MockLive) SetUpload(arg0 bool)

SetUpload mocks base method.

func (*MockLive) SetUploadPath

func (m *MockLive) SetUploadPath(arg0 string)

SetUploadPath mocks base method.

type MockLiveMockRecorder

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

MockLiveMockRecorder is the mock recorder for MockLive.

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

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

GetUploadPath indicates an expected call of GetUploadPath.

func (*MockLiveMockRecorder) NeedUpload

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

NeedUpload indicates an expected call of NeedUpload.

func (*MockLiveMockRecorder) SetLastStartTime

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

SetLastStartTime indicates an expected call of SetLastStartTime.

func (*MockLiveMockRecorder) SetUpload

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

SetUpload indicates an expected call of SetUpload.

func (*MockLiveMockRecorder) SetUploadPath

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

SetUploadPath indicates an expected call of SetUploadPath.

Jump to

Keyboard shortcuts

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