handler

package
v0.0.0-...-2ec1d38 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(w http.ResponseWriter, r *http.Request)

Handler function to expose the app as serverless function Go runtime provided by Vercel

Types

type Region

type Region struct {
	Name   string
	Status *riotStatus
}

Models for in-memory storage

type Status

type Status struct {
	Regions  []*Region
	Response *responseGame
	Game     string
	Base     string
}

Jump to

Keyboard shortcuts

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