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) SetLastStartTime(arg0 time.Time)
- func (m *MockLive) SetLiveIdByString(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) SetLastStartTime(arg0 interface{}) *gomock.Call
- func (mr *MockLiveMockRecorder) SetLiveIdByString(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) SetLastStartTime ¶
SetLastStartTime mocks base method.
func (*MockLive) SetLiveIdByString ¶ added in v0.7.0
SetLiveIdByString 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) 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.