core

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	FileConfig string
	AuthMode   string
	Model      string
	// contains filtered or unexported fields
}

Engine 系统引擎

func (*Engine) Debug

func (slf *Engine) Debug(fmt string, args ...interface{})

Debug 输出调试级日志

func (*Engine) Error

func (slf *Engine) Error(fmt string, args ...interface{})

Error 输出错误级日志

func (*Engine) Info

func (slf *Engine) Info(fmt string, args ...interface{})

Info 输出消息级日志

func (*Engine) Shutdown

func (slf *Engine) Shutdown()

Shutdown 关闭系统

func (*Engine) Start

func (slf *Engine) Start(addr string) error

Start 启动系统

func (*Engine) Wait

func (slf *Engine) Wait()

Wait 等待系统结束

func (*Engine) Warning

func (slf *Engine) Warning(fmt string, args ...interface{})

Warning 输出警告级日志

Jump to

Keyboard shortcuts

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