middleware

package
v0.0.0-...-e115b17 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2016 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

View Source
const (
	DefaultURL   = "https://github.com"
	DefaultAPI   = "https://api.github.com/"
	DefaultScope = "user:email,read:org,public_repo"
)

Variables

This section is empty.

Functions

func Cache

func Cache() gin.HandlerFunc

func Remote

func Remote() gin.HandlerFunc

func Store

func Store() gin.HandlerFunc

func Version

func Version(c *gin.Context)

Version is a middleware function that appends the LGTM version information to the HTTP response. This is intended for debugging and troubleshooting.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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