Documentation
¶
Index ¶
- type App
- func (a *App) BeforeClose(ctx context.Context) (prevent bool)
- func (a *App) GetCurrentOS() string
- func (a *App) NotifyCloseClient()
- func (a *App) NotifyCreateClient()
- func (a *App) Shutdown(ctx context.Context)
- func (a *App) Startup(ctx context.Context)
- func (a *App) TryClosePeerConnection() bool
- func (a *App) TryCreateHost(ICEServers []webrtc.ICEServer, offerEncoded string) (value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App struct
func (*App) BeforeClose ¶
BeforeClose is called when the application is about to quit, either by clicking the window close button or calling runtime.Quit. Returning true will cause the application to continue, false will continue shutdown as normal.
func (*App) GetCurrentOS ¶
func (*App) NotifyCloseClient ¶
func (a *App) NotifyCloseClient()
func (*App) NotifyCreateClient ¶
func (a *App) NotifyCreateClient()
func (*App) TryClosePeerConnection ¶
Closes the peer connection and returns a boolean indication if a connection existed and was closed or not
func (*App) TryCreateHost ¶
Create a Host Peer, it receives the offer encoded and returns the encoded answer response
Click to show internal directories.
Click to hide internal directories.