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: 0

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