routes

package
v0.0.0-...-5c7a00c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugRoutes

func DebugRoutes(h *ws.Hub) *chi.Mux

DebugRoutes represent the Game API endpoint.

func GameRoutes

func GameRoutes(db *sql.DB, h *ws.Hub) *chi.Mux

GameRoutes represent the Game API endpoint.

func PlayerRoutes

func PlayerRoutes(db *sql.DB) *chi.Mux

PlayerRoutes represent the Player API endpoint

func SocketRoutes

func SocketRoutes(h *ws.Hub) chi.Router

SocketRoutes provide websocket routes

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL