mirakc_client

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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