Documentation ¶
Index ¶
- type Channel
- func (wrtc *Channel) DeleteApplication(ctx context.Context, applicationID string) (respDetails models.ResponseDetails, err error)
- func (wrtc *Channel) GenerateToken(ctx context.Context, req models.GenerateWebRTCTokenRequest) (resp models.GenerateWebRTCTokenResponse, respDetails models.ResponseDetails, ...)
- func (wrtc *Channel) GetApplication(ctx context.Context, applicationID string) (resp models.GetWebRTCApplicationResponse, respDetails models.ResponseDetails, ...)
- func (wrtc *Channel) GetApplications(ctx context.Context) (resp models.GetWebRTCApplicationsResponse, respDetails models.ResponseDetails, ...)
- func (wrtc *Channel) SaveApplication(ctx context.Context, application models.WebRTCApplication) (resp models.SaveWebRTCApplicationResponse, respDetails models.ResponseDetails, ...)
- func (wrtc *Channel) UpdateApplication(ctx context.Context, applicationID string, ...) (resp models.UpdateWebRTCApplicationResponse, ...)
- type WebRTC
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
ReqHandler internal.HTTPHandler
}
func (*Channel) DeleteApplication ¶
func (*Channel) GenerateToken ¶
func (wrtc *Channel) GenerateToken( ctx context.Context, req models.GenerateWebRTCTokenRequest, ) (resp models.GenerateWebRTCTokenResponse, respDetails models.ResponseDetails, err error)
func (*Channel) GetApplication ¶
func (wrtc *Channel) GetApplication( ctx context.Context, applicationID string, ) (resp models.GetWebRTCApplicationResponse, respDetails models.ResponseDetails, err error)
func (*Channel) GetApplications ¶
func (wrtc *Channel) GetApplications( ctx context.Context, ) (resp models.GetWebRTCApplicationsResponse, respDetails models.ResponseDetails, err error)
func (*Channel) SaveApplication ¶
func (wrtc *Channel) SaveApplication( ctx context.Context, application models.WebRTCApplication, ) (resp models.SaveWebRTCApplicationResponse, respDetails models.ResponseDetails, err error)
func (*Channel) UpdateApplication ¶
func (wrtc *Channel) UpdateApplication( ctx context.Context, applicationID string, application models.WebRTCApplication, ) (resp models.UpdateWebRTCApplicationResponse, respDetails models.ResponseDetails, err error)
type WebRTC ¶
type WebRTC interface { // GetApplications returns a list of all applications for WebRTC channel. GetApplications( ctx context.Context, ) (resp models.GetWebRTCApplicationsResponse, respDetails models.ResponseDetails, err error) // SaveApplication creates and configures a new WebRTC application. SaveApplication( ctx context.Context, application models.WebRTCApplication, ) (resp models.SaveWebRTCApplicationResponse, respDetails models.ResponseDetails, err error) // GetApplication returns a single WebRTC application to see its configuration details. GetApplication( ctx context.Context, applicationID string, ) (resp models.GetWebRTCApplicationResponse, respDetails models.ResponseDetails, err error) // UpdateApplication changes configuration details of your existing WebRTC application. UpdateApplication( ctx context.Context, applicationID string, application models.WebRTCApplication, ) (resp models.UpdateWebRTCApplicationResponse, respDetails models.ResponseDetails, err error) // DeleteApplication deletes WebRTC application for a given id. DeleteApplication( ctx context.Context, applicationID string, ) (respDetails models.ResponseDetails, err error) // GetToken generates and returns token for WebRTC channel. GenerateToken( ctx context.Context, req models.GenerateWebRTCTokenRequest, ) (resp models.GenerateWebRTCTokenResponse, respDetails models.ResponseDetails, err error) }
Click to show internal directories.
Click to hide internal directories.