gin_startup

package module
v0.0.0-...-f03e684 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

README

gin-startup

example:
	g := gin_startup.NewGinStartup()
	g.EnableFastCgi("tcp://127.0.0.1:15001")
	g.EnableHttp("tcp://127.0.0.1:15002")
	g.Custom(func(r *gin.Engine) {
		r.Use(gin.Recovery(), gin.Logger())
		...
	})
	g.Start()

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGinStartup

func NewGinStartup() *ginStartup

Types

This section is empty.

Directories

Path Synopsis
template

Jump to

Keyboard shortcuts

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