web

package
v0.0.0-...-2942fcd Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DEV = true
View Source
const TEMPLATE_DIR = "./templates"

Variables

This section is empty.

Functions

func Hello

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

func LoadHtml

func LoadHtml(w http.ResponseWriter, path string, locals map[string]interface{})

模板加载

func Login

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

func PublicHandler

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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