yandex

package
v1.9.13 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Id         string `json:"id"`
	Name       string `json:"name"`
	Type       string `json:"type"`
	Parameters struct {
		SnapshotUrl string `json:"snapshot_url,omitempty"`
	} `json:"parameters"`
}

type Room

type Room struct {
	ServiceUrl    string `json:"service_url"`
	ServiceName   string `json:"service_name"`
	RoomId        string `json:"room_id"`
	ParticipantId string `json:"participant_id"`
	Credentials   string `json:"jwt"`
}

type Session

type Session struct {
	// contains filtered or unexported fields
}

func GetSession

func GetSession(token string) (*Session, error)

func (*Session) Get

func (s *Session) Get(url string) (*http.Response, error)

func (*Session) GetCSRF

func (s *Session) GetCSRF() (string, error)

func (*Session) GetCookieString

func (s *Session) GetCookieString(url string) string

func (*Session) GetDevices

func (s *Session) GetDevices() ([]Device, error)

func (*Session) GetSnapshotURL

func (s *Session) GetSnapshotURL(deviceID string) (string, error)

func (*Session) Login

func (s *Session) Login() error

func (*Session) WebrtcCreateRoom

func (s *Session) WebrtcCreateRoom(deviceID string) (*Room, error)

Jump to

Keyboard shortcuts

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