handlers

package
v0.0.0-...-40c89de Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler() *Handler

func (*Handler) GetRoom

func (h *Handler) GetRoom(c echo.Context) error

func (*Handler) Index

func (h *Handler) Index(c echo.Context) error

func (*Handler) JoinRoom

func (h *Handler) JoinRoom(c echo.Context) error

func (*Handler) Login

func (h *Handler) Login(c echo.Context) error

func (*Handler) Protected

func (h *Handler) Protected(next echo.HandlerFunc) echo.HandlerFunc

type LoginRequest

type LoginRequest struct {
	Username string `form:"username"`
	Password string `form:"password"`
}

Jump to

Keyboard shortcuts

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