plex

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlexService

func NewPlexService() models.ServiceHealthChecker

Types

type PlexService

type PlexService struct {
	core.ServiceCore
}

func (*PlexService) CheckHealth

func (s *PlexService) CheckHealth(url, apiKey string) (models.ServiceHealth, int)

func (*PlexService) GetHealthEndpoint

func (s *PlexService) GetHealthEndpoint(baseURL string) string

func (*PlexService) GetSessions

func (s *PlexService) GetSessions(url, apiKey string) (*types.PlexSessionsResponse, error)

Jump to

Keyboard shortcuts

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