controllers

package
v0.0.0-...-0f9f771 Latest Latest
Warning

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

Go to latest
Published: May 15, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Asset func(string) ([]byte, error)
View Source
var GitHubClient *github.Client

Functions

This section is empty.

Types

type RankingController

type RankingController struct {
	// contains filtered or unexported fields
}

func (RankingController) JSON

func (c RankingController) JSON(w http.ResponseWriter, data interface{})

func (RankingController) Render

func (c RankingController) Render(w http.ResponseWriter, view string)

func (RankingController) ShowAPI

func (ranking RankingController) ShowAPI(c web.C, w http.ResponseWriter, r *http.Request)

type TopController

type TopController struct {
	// contains filtered or unexported fields
}

func (TopController) Index

func (top TopController) Index(c web.C, w http.ResponseWriter, r *http.Request)

func (TopController) JSON

func (c TopController) JSON(w http.ResponseWriter, data interface{})

func (TopController) Render

func (c TopController) Render(w http.ResponseWriter, view string)

Jump to

Keyboard shortcuts

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