Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudConfigResponse ¶
type CloudMQTTConfigurator ¶
type CloudMQTTConfigurator struct {
// contains filtered or unexported fields
}
func NewCloudMQTTConfigurator ¶
func NewCloudMQTTConfigurator(cloudURL, authKey string) *CloudMQTTConfigurator
func (*CloudMQTTConfigurator) GetConfiguration ¶
func (c *CloudMQTTConfigurator) GetConfiguration(ctx context.Context) *MQTTConfig
type LocalMQTTConfigurator ¶
type LocalMQTTConfigurator struct { Host string Password string Username string TopicPrefix string }
func NewLocalMQTTConfigurator ¶
func NewLocalMQTTConfigurator(host, desktopPSK, desktopID string) *LocalMQTTConfigurator
func (*LocalMQTTConfigurator) GetConfiguration ¶
func (c *LocalMQTTConfigurator) GetConfiguration(ctx context.Context) *MQTTConfig
type MQTTConfig ¶
type MQTTConfigurator ¶
type MQTTConfigurator interface {
GetConfiguration(ctx context.Context) *MQTTConfig
}
type MQTTSignaler ¶
func NewMQTTSignaler ¶
func NewMQTTSignaler(configurator MQTTConfigurator) *MQTTSignaler
func (*MQTTSignaler) GetName ¶
func (c *MQTTSignaler) GetName() string
func (*MQTTSignaler) RefreshConfig ¶
func (c *MQTTSignaler) RefreshConfig() *MQTTConfig
func (*MQTTSignaler) Run ¶
Used to open the Signaler, and use this webrtc api to create new sessions
func (*MQTTSignaler) SetNewSessionHandler ¶
func (c *MQTTSignaler) SetNewSessionHandler(h api.NewSessionHandler) error
Click to show internal directories.
Click to hide internal directories.