engine

package
v0.0.0-...-d5b1bed Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HmacAuthenticator

func HmacAuthenticator(verify verifySignature) gin.HandlerFunc

HmacAuthenticator is a gin compatible middleware to check incoming request's signature for Github

Types

type Unleash

type Unleash struct {
	Engine *gin.Engine
	Config *helpers.Specification
}

Unleash struct holding everything needed to serve Unleash application

func New

func New() *Unleash

New initialize the Unleash application based on the gin http framework

func (*Unleash) Initialize

func (unleash *Unleash) Initialize(config *helpers.Specification) error

Initialize to be executed before the application runs

Jump to

Keyboard shortcuts

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