Documentation ¶
Index ¶
- Variables
- func New(options *RemoteOptions) drm.Registry
- func NewServer(options *ServerOptions) (handler http.Handler, err error)
- type GenerateChallengeParam
- type GenerateChallengeResult
- type ProvideLicenseParam
- type RemoteOptions
- type ServerOptions
- type SessionData
- func (*SessionData) Descriptor() ([]byte, []int)deprecated
- func (x *SessionData) GetDevice() string
- func (x *SessionData) GetDeviceSessionData() []byte
- func (*SessionData) ProtoMessage()
- func (x *SessionData) ProtoReflect() protoreflect.Message
- func (x *SessionData) Reset()
- func (x *SessionData) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInternal = errors.New("internal error") ErrInvalidParams = errors.New("invalid request params") )
View Source
var ( ErrNoServerURL = errors.New("server URL not provided") ErrServerStatus = errors.New("server status error") ErrInvalidResponse = errors.New("invalid response error") )
View Source
var File_remote_cdm_session_data_proto protoreflect.FileDescriptor
Functions ¶
func New ¶
func New(options *RemoteOptions) drm.Registry
Types ¶
type GenerateChallengeParam ¶
type GenerateChallengeParam struct { *drm.ChallengOptions Device string `json:"device"` }
type GenerateChallengeResult ¶
type ProvideLicenseParam ¶
type RemoteOptions ¶
type ServerOptions ¶
type SessionData ¶
type SessionData struct { Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` DeviceSessionData []byte `protobuf:"bytes,2,opt,name=device_session_data,json=deviceSessionData,proto3" json:"device_session_data,omitempty"` // contains filtered or unexported fields }
func (*SessionData) Descriptor
deprecated
func (*SessionData) Descriptor() ([]byte, []int)
Deprecated: Use SessionData.ProtoReflect.Descriptor instead.
func (*SessionData) GetDevice ¶
func (x *SessionData) GetDevice() string
func (*SessionData) GetDeviceSessionData ¶
func (x *SessionData) GetDeviceSessionData() []byte
func (*SessionData) ProtoMessage ¶
func (*SessionData) ProtoMessage()
func (*SessionData) ProtoReflect ¶
func (x *SessionData) ProtoReflect() protoreflect.Message
func (*SessionData) Reset ¶
func (x *SessionData) Reset()
func (*SessionData) String ¶
func (x *SessionData) String() string
Click to show internal directories.
Click to hide internal directories.