router

package
v0.0.0-...-e752c06 Latest Latest
Warning

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

Go to latest
Published: May 28, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Engine *gin.Engine
}

Handler : a struct to handle HTTP Request and check its Header.

func NewHandler

func NewHandler() *Handler

NewHandler : a factory method to create Handler.

func (*Handler) Run

func (router *Handler) Run(port string)

Run : start listening HTTP Request using enclosed gin.Engine.

Jump to

Keyboard shortcuts

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