engine

package
v0.0.0-...-663df1f Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetReleaseMode

func SetReleaseMode()

SetReleaseMode switches Gin to PROD environment

func SetTestMode

func SetTestMode()

SetTestMode switches Gin to TEST environment

func Setup

func Setup(ESClient *elastic.Client) *gin.Engine

Setup configure the Gin Engine

Types

This section is empty.

Jump to

Keyboard shortcuts

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