Documentation ¶
Index ¶
Constants ¶
View Source
const (
ISO8601 string = "2006-01-02T15:04"
)
Variables ¶
This section is empty.
Functions ¶
func CustomHTTPErrorHandler ¶
func CustomHTTPErrorHandler(err error, c echo.Context)
func SetupRoutes ¶
func SetupRoutes(e *echo.Echo, authHandlers *AuthHandler, bingoHandlers *BingoHandler, tileHandler *TileHandler, apiHandler *ApiHandler)
Types ¶
type ApiHandler ¶
type ApiHandler struct { BingoService *services.BingoService TileService *services.TileService UserService *services.UserService }
func NewApiHandler ¶
func NewApiHandler(ts *services.TileService, us *services.UserService, bs *services.BingoService) *ApiHandler
type AuthHandler ¶
type AuthHandler struct {
UserServices AuthService
}
func NewAuthHandler ¶
func NewAuthHandler(us AuthService) *AuthHandler
type AuthService ¶
type BingoHandler ¶
type BingoHandler struct { BingoService *services.BingoService UserService *services.UserService TileService *services.TileService }
func NewBingoHandler ¶
func NewBingoHandler(bs *services.BingoService, us *services.UserService, ts *services.TileService) *BingoHandler
type TileHandler ¶
type TileHandler struct { UserService *services.UserService TileService *services.TileService }
func NewTileHandler ¶
func NewTileHandler(ts *services.TileService, us *services.UserService) *TileHandler
Click to show internal directories.
Click to hide internal directories.