controllers

package
v0.0.0-...-1485983 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	App *gin.Engine
}

type StatusController

type StatusController struct{}

func (*StatusController) Ping

func (c *StatusController) Ping(ctx *gin.Context)

type StoryController

type StoryController struct {
	Controller
	Story *resources.StoryResource
	HN    *hn.Client
}

func (*StoryController) Cache

func (c *StoryController) Cache(ctx *gin.Context)

func (*StoryController) Get

func (c *StoryController) Get(ctx *gin.Context)

func (*StoryController) GetComments

func (c *StoryController) GetComments(ctx *gin.Context)

Jump to

Keyboard shortcuts

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