handler

package
v0.0.0-...-74ae171 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(g *game.Game)

Start begins the api

Types

type UserRequest

type UserRequest struct {
	UserName string
}

func (UserRequest) Validate

func (r UserRequest) Validate() error

type UserResponse

type UserResponse struct {
	Greeting string
}

func (UserResponse) Validate

func (r UserResponse) Validate() error

Jump to

Keyboard shortcuts

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