twilio

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 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 Driver

type Driver struct {
	Config *config.ICEConfig
	Logger *slog.Logger
}

func (*Driver) GetIceServers

func (d *Driver) GetIceServers() (adapters.IceServersConfig, error)

type TwilioIceServers

type TwilioIceServers struct {
	URL        string `json:"url,omitempty"`
	URLs       string `json:"urls,omitempty"`
	Username   string `json:"username,omitempty"`
	Credential string `json:"credential,omitempty"`
}

type TwilioResponse

type TwilioResponse struct {
	Username    string             `json:"username"`
	DateUpdated string             `json:"date_updated"`
	TTL         string             `json:"ttl"`
	DateCreated string             `json:"date_created"`
	Password    string             `json:"password"`
	IceServers  []TwilioIceServers `json:"ice_servers"`
}

Jump to

Keyboard shortcuts

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