v1

package
v0.0.0-...-996e6dd Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventHandler

func EventHandler(r *redis.Client)

EventHandler will subscribe to keyspace notifications and run callbacks.

func Ping

func Ping(c *gin.Context)

Ping - a generic ping / pong route

func Ratelimit

func Ratelimit() gin.HandlerFunc

Ratelimit - Middleware to handle ratelimiting. - Rejecting reqests... - Bumping request/ip count ...

func Routes

func Routes(api *gin.Engine)

Routes - Register all routes for API version 1

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