app

package
v0.0.0-...-33ecd2b Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2015 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

*

  • Copyright 2015 @ z3q.net.
  • name : rest_server.go
  • author : jarryliu
  • date : -- :
  • description :
  • history :

Index

Constants

This section is empty.

Variables

View Source
var (
	API_DOMAIN   string
	API_HOST_CHK bool = false // 必须匹配Host
)

Functions

func Init

func Init(app gof.App)

func RunRestApi

func RunRestApi(app gof.App, port int)

func RunSocket

func RunSocket(ctx gof.App, port int, debug, trace bool)

func RunWeb

func RunWeb(app gof.App, port int, debug, trace bool)

运行网页

Types

This section is empty.

Directories

Path Synopsis
* * Copyright 2015 @ z3q.net.
* * Copyright 2015 @ z3q.net.
* * Copyright 2015 @ z3q.net.
* * Copyright 2015 @ z3q.net.
* * Copyright 2014 @ z3q.net.
* * Copyright 2014 @ z3q.net.
master
* * Copyright 2015 @ z3q.net.
* * Copyright 2015 @ z3q.net.
master/dao
* * Copyright 2014 @ z3q.net.
* * Copyright 2014 @ z3q.net.
master/dao/entity
* * Copyright 2014 @ z3q.net.
* * Copyright 2014 @ z3q.net.
partner
* * Copyright 2014 @ z3q.net.
* * Copyright 2014 @ z3q.net.
shop
* 包含PC,移动端,微信的WEB UI * pcs : PC端线上商店
* 包含PC,移动端,微信的WEB UI * pcs : PC端线上商店
shop/ofs
* * Copyright 2015 @ z3q.net.
* * Copyright 2015 @ z3q.net.
shop/ols
* * Copyright 2015 @ z3q.net.
* * Copyright 2015 @ z3q.net.
shop/ols/mos
* * Copyright 2015 @ z3q.net.
* * Copyright 2015 @ z3q.net.
shop/wxs
* * Copyright 2015 @ z3q.net.
* * Copyright 2015 @ z3q.net.
ucenter
* * Copyright 2014 @ z3q.net.
* * Copyright 2014 @ z3q.net.
* * Copyright 2015 @ z3q.net.
* * Copyright 2015 @ z3q.net.

Jump to

Keyboard shortcuts

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