endpoint

package
v0.0.0-...-fc44d3c Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(cnfg config.Config, _db *database.Db, _userservice *usersrv.Service, _gameservice *gamesrv.Service) *gin.Engine

Types

type BuildMsg

type BuildMsg struct {
	PlanetId string
	Building string
}

type LoginMsg

type LoginMsg struct {
	Email    string `binding:"required"`
	Password string `binding:"required"`
}

type RegisterMsg

type RegisterMsg struct {
	Name     string `json:"name" binding:"required"`
	Password string `json:"password" binding:"required"`
	Email    string `json:"email" binding:"required"`
}

Jump to

Keyboard shortcuts

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