api

package
v0.0.0-...-24d7b7f Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApp

func NewApp(caseOne *conf.CaseOne)

NewApp create app

func PingContext

func PingContext(c *gin.Context)

PingContext gin handler function

func SetRouter

func SetRouter(router *gin.Engine)

SetRouter set up router group

Types

type App

type App struct {
	Env *viper.Viper
}

App inject configuration

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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