mirror of
https://github.com/Quad4-Software/Reticulum-Go
synced 2026-08-29 23:48:44 -04:00
19 lines
407 B
Go
19 lines
407 B
Go
// SPDX-License-Identifier: Apache-2.0
|
|
// Copyright (c) 2024-2026 Quad4.io
|
|
|
|
//go:build tinygo && !js
|
|
|
|
package interfaces
|
|
|
|
import "fmt"
|
|
|
|
type WebSocketInterface struct {
|
|
BaseInterface
|
|
}
|
|
|
|
func NewWebSocketInterface(name string, wsURL string, enabled bool) (*WebSocketInterface, error) {
|
|
_ = name
|
|
_ = wsURL
|
|
_ = enabled
|
|
return nil, fmt.Errorf("WebSocketInterface is not supported on this TinyGo target")
|
|
}
|