import "41.neocities.org/media/draken"
type Byte[T any] []byte
func NewLogin(identity, key string) (Byte[Login], error)
type Entitlement struct { Error *struct { UserMessage string `json:"user_message"` } Token string }
type Login struct { Token string }
func (n Login) Entitlement(movie1 Movie) (*Entitlement, error)
func (n Login) Playback( movie1 *Movie, title *Entitlement, ) (Byte[Playback], error)
func (n *Login) Unmarshal(data Byte[Login]) error
func (n Login) Widevine(play *Playback, data []byte) ([]byte, error)
type Movie struct { Id string }
func (m *Movie) New(custom_id string) error
type Playback struct { Headers map[string]string Playlist string // MPD }
func (p *Playback) Unmarshal(data Byte[Playback]) error
draken.go