Package plex
(v1.10.6)
[repository]
Index
Variables
var ForwardedFor string
Functions
func Path(data string) string
Types
type Byte
type Byte[T any] []byte
type Match
type Match struct {
RatingKey string
}
type Metadata struct {
Media []struct {
Part []Part
Protocol string
}
}
Methods
func (m *Metadata) Dash() (*Part, bool)
func (m *Metadata) Unmarshal(data Byte[Metadata]) error
type Part
type Part struct {
Key string
License string
}
type User
type User struct {
AuthToken string
}
Methods
func (u User) Match(path string) (*Match, error)
func (u User) Metadata(matchVar *Match) (Byte[Metadata], error)
func (u User) Mpd(partVar *Part) (*http.Response, error)
func (u *User) Unmarshal(data Byte[User]) error
func (u User) Widevine(partVar *Part, data []byte) ([]byte, error)