Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NoCache ¶
NoCache is a middleware function that appends headers to prevent the client from caching the HTTP response.
func Options ¶
Options is a middleware function that appends headers for options requests and aborts then exits the middleware chain and ends the request.
func Version ¶
func Version(version string) gin.HandlerFunc
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.
Click to show internal directories.
Click to hide internal directories.