Documentation
¶
Index ¶
- type EPGStationClient
- func (c *EPGStationClient) GetEncode(ctx context.Context) (*EPGStationEncode, error)
- func (c *EPGStationClient) GetRecording(ctx context.Context) (*EPGStationRecording, error)
- func (c *EPGStationClient) GetReserveCounts(ctx context.Context) (*EPGStationReserveCounts, error)
- func (c *EPGStationClient) GetStorages(ctx context.Context) (*EPGStationStorages, error)
- func (c *EPGStationClient) GetStreams(ctx context.Context) (*EPGStationStreams, error)
- type EPGStationEncode
- type EPGStationError
- type EPGStationRecording
- type EPGStationReserveCounts
- type EPGStationStorages
- type EPGStationStreams
- type Plugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EPGStationClient ¶
type EPGStationClient struct {
// contains filtered or unexported fields
}
func NewEPGStationClient ¶
func NewEPGStationClient(baseURL string) *EPGStationClient
func (*EPGStationClient) GetEncode ¶
func (c *EPGStationClient) GetEncode(ctx context.Context) (*EPGStationEncode, error)
func (*EPGStationClient) GetRecording ¶
func (c *EPGStationClient) GetRecording(ctx context.Context) (*EPGStationRecording, error)
func (*EPGStationClient) GetReserveCounts ¶
func (c *EPGStationClient) GetReserveCounts(ctx context.Context) (*EPGStationReserveCounts, error)
func (*EPGStationClient) GetStorages ¶
func (c *EPGStationClient) GetStorages(ctx context.Context) (*EPGStationStorages, error)
func (*EPGStationClient) GetStreams ¶
func (c *EPGStationClient) GetStreams(ctx context.Context) (*EPGStationStreams, error)
type EPGStationEncode ¶
type EPGStationEncode struct {
RunningItems []*struct{} `json:"runningItems"`
WaitItems []*struct{} `json:"waitItems"`
EPGStationError
}
type EPGStationError ¶
type EPGStationRecording ¶
type EPGStationRecording struct {
Total int `json:"total"`
EPGStationError
}
type EPGStationReserveCounts ¶
type EPGStationReserveCounts struct {
Normal int `json:"normal"`
Conflicts int `json:"conflicts"`
Skips int `json:"skips"`
Overlaps int `json:"overlaps"`
EPGStationError
}
type EPGStationStorages ¶
type EPGStationStorages struct {
Items []*struct {
Name string `json:"name"`
Available int `json:"available"`
Used int `json:"used"`
Total int `json:"total"`
} `json:"items"`
EPGStationError
}
type EPGStationStreams ¶
type EPGStationStreams struct {
Items []*struct {
Type string `json:"type"`
} `json:"items"`
EPGStationError
}
type Plugin ¶
type Plugin struct {
EPGStationBaseURL string `toml:"-" env:"EPGSTATION_BASE_URL" envDefault:"http://localhost:8888"`
// contains filtered or unexported fields
}
func (*Plugin) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.