WebSocketHandler no return.

This commit is contained in:
Miroslav Šedivý
2020-10-28 20:29:18 +01:00
parent 26c2bbf10d
commit 01d125316f
2 changed files with 2 additions and 4 deletions

View File

@ -9,7 +9,7 @@ type WebSocket interface {
}
type WebSocketHandler interface {
Start() error
Start()
Shutdown() error
Upgrade(w http.ResponseWriter, r *http.Request) error
}