Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationRequest ¶
type ConfigurationRequest struct { Encoding OptionEncoding `json:"encoding"` ClientRole int `json:"client_role"` }
type OptionEncoding ¶
type OptionsRequest ¶
type OptionsRequest struct { OutputEncodings []OptionEncoding `json:"output_encodings"` InputEncodings []OptionEncoding `json:"input_encodings"` PreferredRole int `json:"preferred_role"` }
type Pairing ¶
type Pairing struct { Buffer []byte Connection *tls.Conn Certificates *tls.Certificate Address string Port int }
func New ¶
func New(addr string, port int, certs *tls.Certificate) Pairing
Create a new pairing object with the ip and port of the android tv device and a certificate
type PariringRequest ¶
type SecretRequest ¶
type SecretRequest struct {
Secret string `json:"secret"`
}
Click to show internal directories.
Click to hide internal directories.