Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockLive
- func (m *MockLive) EXPECT() *MockLiveMockRecorder
- func (m *MockLive) GetInfo() (*live.Info, error)
- func (m *MockLive) GetLastStartTime() time.Time
- func (m *MockLive) GetLiveId() live.ID
- func (m *MockLive) GetPlatformCNName() string
- func (m *MockLive) GetRawUrl() string
- func (m *MockLive) GetStreamUrls() ([]*url.URL, error)
- func (m *MockLive) GetUploadPath() string
- func (m *MockLive) NeedUpload() bool
- func (m *MockLive) SetLastStartTime(arg0 time.Time)
- func (m *MockLive) SetUpload(arg0 bool)
- func (m *MockLive) SetUploadPath(arg0 string)
- type MockLiveMockRecorder
- func (mr *MockLiveMockRecorder) GetInfo() *gomock.Call
- func (mr *MockLiveMockRecorder) GetLastStartTime() *gomock.Call
- func (mr *MockLiveMockRecorder) GetLiveId() *gomock.Call
- func (mr *MockLiveMockRecorder) GetPlatformCNName() *gomock.Call
- func (mr *MockLiveMockRecorder) GetRawUrl() *gomock.Call
- func (mr *MockLiveMockRecorder) GetStreamUrls() *gomock.Call
- func (mr *MockLiveMockRecorder) GetUploadPath() *gomock.Call
- func (mr *MockLiveMockRecorder) NeedUpload() *gomock.Call
- func (mr *MockLiveMockRecorder) SetLastStartTime(arg0 interface{}) *gomock.Call
- func (mr *MockLiveMockRecorder) SetUpload(arg0 interface{}) *gomock.Call
- func (mr *MockLiveMockRecorder) SetUploadPath(arg0 interface{}) *gomock.Call
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) GetLastStartTime ¶
GetLastStartTime mocks base method.
func (*MockLive) GetPlatformCNName ¶
GetPlatformCNName mocks base method.
func (*MockLive) GetStreamUrls ¶
GetStreamUrls mocks base method.
func (*MockLive) GetUploadPath ¶
GetUploadPath mocks base method.
func (*MockLive) SetLastStartTime ¶
SetLastStartTime mocks base method.
func (*MockLive) SetUploadPath ¶
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.