app

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Host        string
	Port        int
	Environment string
	Router      *gin.Engine
}

App is the base struct for web api app

func New

func New(host string, port int, env string) (*App, error)

New creates a new core app

func (*App) Start

func (app *App) Start()

Start starts the app

Jump to

Keyboard shortcuts

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