kanopy

package
v1.10.8 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 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 added in v1.10.7

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

type Login added in v1.10.1

type Login struct {
	Jwt    string
	UserId int
}

good for 10 years

func (*Login) Fetch added in v1.10.7

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

func (*Login) Membership added in v1.10.1

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

func (*Login) PlayResponse added in v1.10.7

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

func (*Login) Widevine added in v1.10.1

func (l *Login) Widevine(info *StreamInfo, data []byte) ([]byte, error)

type Membership

type Membership struct {
	DomainId int
}

type PlayResponse added in v1.10.7

type PlayResponse struct {
	ErrorMsgLong string `json:"error_msg_long"`
	Manifests    []StreamInfo
}

func (*PlayResponse) Dash added in v1.10.7

func (p *PlayResponse) Dash() (*StreamInfo, bool)

type StreamInfo added in v1.10.7

type StreamInfo struct {
	DrmLicenseId string
	ManifestType string
	Url          string
}

func (*StreamInfo) Dash added in v1.10.7

func (s *StreamInfo) Dash() (*Dash, error)

Jump to

Keyboard shortcuts

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