api

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiIceServer

type ApiIceServer struct {
	URLs       []string `json:"urls,omitempty"`
	Username   string   `json:"username,omitempty"`
	Credential string   `json:"credential,omitempty"`
}

type ApiResponse

type ApiResponse struct {
	Providers map[string]ProviderRes `json:"providers"`
	Node      string                 `json:"node"`
}

type Driver

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

func (*Driver) GetIceServers

func (d *Driver) GetIceServers(testRunId xid.ID) (map[string]adapters.IceServersConfig, string, error)

type ProviderRes

type ProviderRes struct {
	IceServers   []ApiIceServer `json:"iceServers"`
	DoThroughput bool           `json:"doThroughput"`
}

Jump to

Keyboard shortcuts

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