Destroy() does not return error.

This commit is contained in:
Miroslav Šedivý
2021-08-29 19:17:10 +02:00
parent a03507227d
commit a95a987fb6
8 changed files with 37 additions and 63 deletions

View File

@ -26,7 +26,7 @@ type WebRTCPeer interface {
SendCursorPosition(x, y int) error
SendCursorImage(cur *CursorImage, img []byte) error
Destroy() error
Destroy()
}
type WebRTCManager interface {

View File

@ -8,7 +8,7 @@ type CheckOrigin func(r *http.Request) bool
type WebSocketPeer interface {
Send(v interface{}) error
Destroy() error
Destroy()
}
type WebSocketManager interface {