middleware

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2016 License: Apache-2.0 Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentMust

func AgentMust() gin.HandlerFunc

Agent is a middleware function that initializes the authorization middleware for agents to connect to the queue.

func Bus

func Bus() gin.HandlerFunc

func Cache

func Cache() gin.HandlerFunc

Cache is a middleware function that initializes the Cache and attaches to the context of every http.Request.

func Engine

func Engine() gin.HandlerFunc

Engine is a middleware function that initializes the Engine and attaches to the context of every http.Request.

func Queue

func Queue() gin.HandlerFunc

func Remote

func Remote() gin.HandlerFunc

Remote is a middleware function that initializes the Remote and attaches to the context of every http.Request.

func Store

func Store() gin.HandlerFunc

Store is a middleware function that initializes the Datastore and attaches to the context of every http.Request.

func Stream

func Stream() gin.HandlerFunc

func Version

func Version(c *gin.Context)

Version is a middleware function that appends the Drone 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