views

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminIndex

func AdminIndex(c *gin.Context)

AdminIndex return admin page

func MustLoadTemplate added in v1.0.0

func MustLoadTemplate() *template.Template

MustLoadTemplate load template

func PageIndex

func PageIndex(c *gin.Context)

PageIndex render index

func RoomCreate

func RoomCreate(c *gin.Context)

RoomCreate create room

func RoomInfo

func RoomInfo(c *gin.Context)

RoomInfo show room info

func RoomList

func RoomList(c *gin.Context)

RoomList list all rooms

func RoomStart

func RoomStart(c *gin.Context)

RoomStart start the room

func RoomStop

func RoomStop(c *gin.Context)

RoomStop stop the room

func RoomSync

func RoomSync(c *gin.Context)

RoomSync return time until next tick

func RoomUpdate

func RoomUpdate(c *gin.Context)

RoomUpdate update the room

func UserAuth

func UserAuth(c *gin.Context)

UserAuth check user credential

func UserCreate

func UserCreate(c *gin.Context)

UserCreate create user

func UserInfo

func UserInfo(c *gin.Context)

UserInfo show user info

func UserSubmit

func UserSubmit(c *gin.Context)

UserSubmit submit user action

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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