mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-11-08 19:20:25 +01:00
23 lines
367 B
Go
23 lines
367 B
Go
package main
|
|
|
|
import "net/http"
|
|
|
|
type players struct {
|
|
fifo string
|
|
wsf *websocketForwarder
|
|
}
|
|
|
|
func newPlayers(fifo string, wsf *websocketForwarder) *players {
|
|
return &players{fifo: fifo, wsf: wsf}
|
|
}
|
|
|
|
func (ps *players) run() {
|
|
for {
|
|
// TODO: Implement me!
|
|
}
|
|
}
|
|
|
|
func (ps *players) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
|
|
// TODO: Implement me!
|
|
}
|