package
0.0.0-20250226212716-4dc9c2d32a9e
Repository: https://github.com/cbartram/hearthhub-mod-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AuthMiddleware is the custom authentication middleware that checks the Authorization header to ensure a given discord id belong to a given refresh token.
No description provided by the author
No description provided by the author
NewRouter Create a new gin router and instantiates the routes and route handlers for the entire API.
NewWebSocketManager creates a new WebSocket manager.

# Structs

Client represents a WebSocket client connection.
Message represents the structure of messages being passed.
No description provided by the author
WebSocketManager handles multiple WebSocket connections.