cache

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() gin.HandlerFunc

func Perms

func Perms(c *gin.Context)

Perms is a middleware function that attempts to cache the user's remote rempository permissions (ie in GitHub) to minimize remote calls that might be expensive, slow or rate-limited.

func Repos

func Repos(c *gin.Context)

Repos is a middleware function that attempts to cache the user's list of remote repositories (ie in GitHub) to minimize remote calls that might be expensive, slow or rate-limited.

Types

This section is empty.

Jump to

Keyboard shortcuts

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