kanopy

package
v1.10.9 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: OSL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dash

type Dash struct {
	Body []byte
	Url  *url.URL
}

type Login

type Login struct {
	Jwt    string
	UserId int
}

good for 10 years

func (*Login) Fetch

func (l *Login) Fetch(email, password string) error

func (*Login) Membership

func (l *Login) Membership() (*Membership, error)

func (*Login) Plays

func (l *Login) Plays(member *Membership, videoId int) (*Plays, error)

func (*Login) Widevine

func (l *Login) Widevine(manifest *PlayManifest, data []byte) ([]byte, error)

type Membership

type Membership struct {
	DomainId int
}

type PlayManifest

type PlayManifest struct {
	DrmLicenseId string
	ManifestType string
	Url          string
}

func (*PlayManifest) Dash

func (p *PlayManifest) Dash() (*Dash, error)

type Plays

type Plays struct {
	ErrorMsgLong string `json:"error_msg_long"`
	Manifests    []PlayManifest
}

func (*Plays) Dash

func (p *Plays) Dash() (*PlayManifest, error)

Jump to

Keyboard shortcuts

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