web

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// JSONContentType is a helper to easily set the content type
	JSONContentType = "application/json; charset=utf-8"
)

Variables

This section is empty.

Functions

func NewRouter

func NewRouter() *mux.Router

NewRouter creates a new router using all selected Routes

Types

type PageData

type PageData struct {
	Shows []string
}

PageData defines a struct to store the current version information.

Jump to

Keyboard shortcuts

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