routes

package
v0.0.0-...-78f8226 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutesTo

func AddRoutesTo(appRouter *gin.Engine)

AddRoutesTo adds routes form routeFuncList to appRouter

func JobHTML

func JobHTML(c *gin.Context)

JobHTML returns jobrunner monitoring page

func JobJSON

func JobJSON(c *gin.Context)

JobJSON returns jobrunner JSON

Types

type RouteFuncType

type RouteFuncType func(rootRouter *gin.Engine, rootPath string)

RouteFuncType is a func is called to add routes to rootRouter

Jump to

Keyboard shortcuts

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