routes

package
v0.0.0-...-29dd356 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func About

func About(ctx *iris.Context)

About the handler func, we don't use struct here this is the simplest method to declare a route

func Index

func Index(ctx *iris.Context)

func Profile

func Profile(ctx *iris.Context)

func ReloadProxy

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

func UserList

func UserList(ctx *iris.Context)

Types

type Page

type Page struct {
	Title string
	Users []userAPI.User
}

Jump to

Keyboard shortcuts

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