plex

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: GPL-2.0 Imports: 11 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) CheckAuthPIN added in v0.3.0

func (s *PlexService) CheckAuthPIN(ctx context.Context, pinID int, code, clientIdentifier, product string) (*types.PlexPIN, error)

func (*PlexService) CheckHealth

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

func (*PlexService) CreateAuthPIN added in v0.3.0

func (s *PlexService) CreateAuthPIN(ctx context.Context, clientIdentifier, product string) (*types.PlexPIN, error)

func (*PlexService) GetHealthEndpoint

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

func (*PlexService) GetSessions

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

Jump to

Keyboard shortcuts

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