handler

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 18 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LeagueOfGraphsURL

func LeagueOfGraphsURL(region, ign string) string

Types

type Handler

type Handler struct {
	DB *db.DB

	Users []*User

	Templates *template.Template
	// contains filtered or unexported fields
}

func (*Handler) ServeHTTPWithErr added in v0.2.0

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

type User added in v0.4.0

type User struct {
	Username, Password, Token string
}

Jump to

Keyboard shortcuts

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