Versions in this module Expand all Collapse all v0 v0.1.4 Mar 11, 2023 v0.1.3 Dec 3, 2022 v0.1.2 Nov 7, 2022 v0.1.1 Oct 13, 2022 Changes in this version type Client + func (c *Client) GetEncode(ctx context.Context, opts GetEncodeOpts) (*GetEncodeResponse, error) + func (c *Client) GetReservesCnts(ctx context.Context) (*GetReservesCntsResponse, error) + type DropLogFile struct + DropCnt int64 + ErrorCnt int64 + ID int64 + ScramblingCnt int64 + type EncodeInfo struct + RunningItems []EncodeProgramItem + WaitItems []EncodeProgramItem + type EncodeProgramItem struct + ID int64 + Log *string + Mode string + Percent *float64 + Recorded RecordedItem + type GetEncodeOpts struct + IsHalfWidth bool + type GetEncodeResponse EncodeInfo + type GetReservesCntsResponse ReserveCnts + type RecordedItem struct + AudioComponentType *int + AudioSamplingRate *int + ChannelID int64 + Description *string + DropLogFile *DropLogFile + EndAt int64 + Extended *string + Genre1 *int + Genre2 *int + Genre3 *int + ID int64 + IsEncoding bool + IsProtected bool + IsRecording bool + Name string + ProgramID *int64 + RawExtended *map[string]string + RuleID *int64 + StartAt int64 + SubGenre1 *int + SubGenre2 *int + SubGenre3 *int + Tags *[]RecordedTag + Thumbnails *[]int64 + VideoComponentType *int + VideoFiles *[]VideoFile + VideoResolution *string + VideoStreamContent *int + VideoType *string + type RecordedTag struct + Color string + ID int64 + Name string + type Records struct + Records []RecordedItem + Total int64 + type ReserveCnts struct + Conflicts int64 + Normal int64 + Overlaps int64 + Skips int64 + type VideoFile struct + Filename string + ID int64 + Name string + Size int64 + Type string v0.1.0 Sep 25, 2022 Changes in this version + type ChannelItem struct + Channel string + ChannelType string + HalfWidthName string + HasLogoData bool + ID int64 + Name string + NetworkID int + RemoteControlKeyID *int + ServiceID int + type Client struct + DefaultHeader http.Header + HTTPClient *http.Client + Logger log.Logger + URL *url.URL + func NewClient(urlString string) (*Client, error) + func (c *Client) GetChannels(ctx context.Context) (*GetChannelsResponse, error) + func (c *Client) GetSchedules(ctx context.Context, opts GetSchedulesOpts) (*GetSchedulesResponse, error) + func (c *Client) GetStorages(ctx context.Context) (*GetStoragesResponse, error) + func (c *Client) GetStreams(ctx context.Context, opts GetStreamsOpts) (*GetStreamsResponse, error) + func (c *Client) GetVersion(ctx context.Context) (*GetVersionResponse, error) + type GetChannelsResponse []ChannelItem + type GetSchedulesOpts struct + BS bool + CS bool + EndAt int64 + GR bool + IsFree *bool + IsHalfWidth bool + NeedsRawExtended *bool + SKY bool + StartAt int64 + type GetSchedulesResponse []Schedule + type GetStoragesResponse StorageInfo + type GetStreamsOpts struct + IsHalfWidth bool + type GetStreamsResponse StreamInfo + type GetVersionResponse struct + Version string + type Schedule struct + Channel ScheduleChannelItem + Programs []ScheduleProgramItem + type ScheduleChannelItem struct + ChannelType string + HasLogoData bool + ID int64 + Name string + NetworkID int + RemoteControlKeyID *int + ServiceID int + type ScheduleProgramItem struct + AudioComponentType *int + AudioSamplingRate *int + ChannelID int64 + Description *string + EndAt int64 + Extended *string + Genre1 *int + Genre2 *int + Genre3 *int + ID int64 + IsFree bool + Name string + RawExtended *map[string]string + StartAt int64 + SubGenre1 *int + SubGenre2 *int + SubGenre3 *int + VideoComponentType *int + VideoResolution *string + VideoStreamContent *int + VideoType *string + type StorageInfo struct + Items []StorageItem + type StorageItem struct + Available int64 + Name string + Total int64 + Used int64 + type StreamInfo struct + Items []StreamInfoItem + type StreamInfoItem struct + ChannelID int64 + Description *string + EndAt int64 + Extended *string + IsEnable bool + Mode int + Name string + RawExtended *map[string]string + RecordedID *int + StartAt int64 + StreamID int + Type string + VideoFileID *int