Documentation
¶
Index ¶
- type MirakcClient
- func (m *MirakcClient) AddRecordingSchedule(programID int64, contentPath string) error
- func (m *MirakcClient) DeleteRecordingSchedule(programID int64) error
- func (m *MirakcClient) GetRecordingScheduleContentPath(programID int64) (string, error)
- func (m *MirakcClient) GetService(serviceId uint) (*db.Service, error)
- func (m *MirakcClient) GetVersion() (*mirakc_model.Version, error)
- func (m *MirakcClient) ListPrograms(serviceId uint) ([]db.Program, error)
- func (m *MirakcClient) ListServices() ([]db.Service, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MirakcClient ¶
type MirakcClient struct {
// contains filtered or unexported fields
}
func NewMirakcClient ¶
func NewMirakcClient(host string, port uint, logger *zap.Logger) *MirakcClient
func (*MirakcClient) AddRecordingSchedule ¶
func (m *MirakcClient) AddRecordingSchedule(programID int64, contentPath string) error
func (*MirakcClient) DeleteRecordingSchedule ¶
func (m *MirakcClient) DeleteRecordingSchedule(programID int64) error
func (*MirakcClient) GetRecordingScheduleContentPath ¶
func (m *MirakcClient) GetRecordingScheduleContentPath(programID int64) (string, error)
func (*MirakcClient) GetService ¶
func (m *MirakcClient) GetService(serviceId uint) (*db.Service, error)
func (*MirakcClient) GetVersion ¶
func (m *MirakcClient) GetVersion() (*mirakc_model.Version, error)
func (*MirakcClient) ListPrograms ¶
func (m *MirakcClient) ListPrograms(serviceId uint) ([]db.Program, error)
func (*MirakcClient) ListServices ¶
func (m *MirakcClient) ListServices() ([]db.Service, error)
Click to show internal directories.
Click to hide internal directories.