app

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: MIT Imports: 19 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 {
	// contains filtered or unexported fields
}

App 项目

func New

func New(cfg *config.Config, dao *dao.Dao, svc service.Service) *App

New 实例化App

func (*App) InitLog

func (app *App) InitLog()

InitLog 初始化日志配置

func (*App) PingServer

func (app *App) PingServer() (err error)

PingServer 服务心跳检查

func (*App) RunHTTPServer

func (app *App) RunHTTPServer() (err error)

RunHTTPServer provide run http or https protocol.

Jump to

Keyboard shortcuts

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