Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUpgrader ¶
Types ¶
type Echo ¶
type Echo struct {
// contains filtered or unexported fields
}
func NewEchoHandler ¶
func (*Echo) HandleFunc ¶
func (e *Echo) HandleFunc(w http.ResponseWriter, r *http.Request)
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
func NewGameHandler ¶
func NewGameHandler(up *websocket.Upgrader, db storage.Storage, vehicleSvc services.ServiceHandler, driverSvc services.ServiceHandler, trackSvc services.ServiceHandler, eventSvc services.ServiceHandler) *Game
func (*Game) HandleFunc ¶
func (g *Game) HandleFunc(w http.ResponseWriter, r *http.Request)
type WebSocketHandler ¶
Click to show internal directories.
Click to hide internal directories.